This is my dotfiles repo. There are many like it, but this one is mine.
It is laid out exactly how it goes in the $HOME
dir.
git clone --bare https://github.com/joshkuun/dotfiles.git $HOME/.dotfiles
alias dotfiles='GIT_DIR=$HOME/.dotfiles/ GIT_WORK_TREE=$HOME git'
dotfiles config --local core.worktree $HOME
dotfiles config --local status.showUntrackedFiles no
dotfiles config --local user.email [email protected]
dotfiles checkout
# If not a personal device
git config --global user.email [email protected]
# If zsh is not the default shell
chsh -s zsh
dotfiles pull
The dotfiles are now in your home folder, in the conventional location. Your tools automatically pick them up.