/dotfiles

My dotfiles

Primary LanguageShell

dotfiles

My dotfiles

Setup

git init --bare $HOME/.dotfiles.git
echo 'alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME"' >> $HOME/.zshrc
source ~/.zshrc
dotfiles config --local status.showUntrackedFiles no

Installing dotfiles to another system

echo 'alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME"' >> $HOME/.zshrc
source ~/.zshrc
echo ".dotfiles.git" >> .gitignore
git clone --bare https://www.github.com/tandat2209/dotfiles $HOME/.dotfiles.git
dotfiles checkout
dotfiles config --local status.showUntrackedFiles no