Skip to content

Instantly share code, notes, and snippets.

@thraizz
Created February 2, 2024 12:23
Show Gist options
  • Save thraizz/abee94c711fe60b80785e4ff3a620279 to your computer and use it in GitHub Desktop.
Save thraizz/abee94c711fe60b80785e4ff3a620279 to your computer and use it in GitHub Desktop.
echo ".dotfiles" >> .gitignore
# Clone my repo into .dotfiles
git clone --bare https://github.com/thraizz/dotfiles.git $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment