Compare commits
2 commits
606b840c59
...
dafe42b6e7
| Author | SHA1 | Date | |
|---|---|---|---|
| dafe42b6e7 | |||
| 126d9892e2 |
4 changed files with 22 additions and 16 deletions
26
.gitconfig
26
.gitconfig
|
|
@ -1,18 +1,20 @@
|
||||||
[user]
|
[user]
|
||||||
email = matthewbinning@pm.me
|
email = matthewbinning@pm.me
|
||||||
name = Matthew Binning
|
name = Matthew Binning
|
||||||
username = matthew.binning
|
username = matthew.binning
|
||||||
editor = vi
|
editor = vi
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
[pull]
|
[pull]
|
||||||
rebase = true
|
rebase = true
|
||||||
[push]
|
[push]
|
||||||
autoSetupRemote = true
|
autoSetupRemote = true
|
||||||
[alias]
|
[alias]
|
||||||
st = status
|
br = branch
|
||||||
sw = switch
|
rb = rebase
|
||||||
lg = log --oneline --graph --decorate
|
st = status
|
||||||
|
sw = switch
|
||||||
|
l = log --oneline --graph --decorate
|
||||||
[credential]
|
[credential]
|
||||||
helper = store
|
helper = store
|
||||||
|
|
|
||||||
1
.profile
1
.profile
|
|
@ -26,6 +26,7 @@ export KUBECONFIG
|
||||||
# Shortenings
|
# Shortenings
|
||||||
alias \
|
alias \
|
||||||
d='docker' \
|
d='docker' \
|
||||||
|
g='git' \
|
||||||
k='kubectl' \
|
k='kubectl' \
|
||||||
s='sudo'
|
s='sudo'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
This assumes you are on a bash-based system, like Debian.
|
This uses symlinks to quickly set up a bash-based system, like NixOS or Debian.
|
||||||
Clone this repository into your home folder.
|
Clone this repository into your home folder.
|
||||||
Then `cd ~/dotfiles && ./install.sh`.
|
Then `cd ~/dotfiles && ./install.sh`.
|
||||||
|
|
||||||
|
After first install, the symlinks will be set up.
|
||||||
|
Thereafter, `git pull` will simply bring in updates to these managed dotfiles.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
ln -si "$HOME"/dotfiles/.gitconfig ~/.gitconfig
|
ln -si "$HOME"/dotfiles/.gitconfig ~/.gitconfig
|
||||||
printf '. ~/dotfiles/.profile' >> ~/.bashrc
|
printf '. ~/dotfiles/.profile' > ~/.bashrc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue