mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
17 lines
519 B
Markdown
17 lines
519 B
Markdown
# dotfiles
|
|
|
|

|
|
|
|
## use
|
|
|
|
```shell
|
|
git clone --bare git@github.com:davegallant/dotfiles.git $HOME/.dotfiles
|
|
alias config='/usr/bin/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
|
|
```
|
|
|
|
See: https://www.atlassian.com/git/tutorials/dotfiles
|