Created
August 14, 2019 05:41
-
-
Save asahasrabuddhe/1a1182aa6cb900bf7b20c3c3366bdce6 to your computer and use it in GitHub Desktop.
Sync DOTFILES using Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init --bare $HOME/.configs | |
alias config='/usr/bin/git --git-dir=$HOME/.configs/ --work-tree=$HOME' | |
config config --local status.showUntrackedFiles no | |
echo "alias config='/usr/bin/git --git-dir=$HOME/.configs/ --work-tree=$HOME'" >> $HOME/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment