Files
nix-config/README.md
2021-01-09 02:07:13 -05:00

13 lines
357 B
Markdown

# dotfiles
## Setup a bare git repo
```shell
git clone --bare git@github.com:davegallant/dotfiles.git $HOME/.dotfiles
alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # add alias to a .bashrc or .zshrc
source ~/.zshrc || source ~/.bashrc
config config --local status.showUntrackedFiles no
# override all config files
config checkout -f
```