Note
Mar 17, 2024 - My Linux boxes are on NixOS and can be found at ndom91/nixos-config
Initial bare repo dotfiles setup
git init --bare $HOME/.dotfiles
alias dot='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
dot config status.showUntrackedFiles no
echo "alias dot='git --git-dir=\$HOME/.dotfiles --work-tree=\$HOME'" >> ~/.zshrcRestore on a new machine:
git clone --bare git@github.com:ndom91/dotfiles.git $HOME/.dotfiles
alias dot='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
dot checkout
dot config status.showUntrackedFiles noMIT
