Last active
July 24, 2022 19:55
-
-
Save muffinresearch/33c438482ed5c6008061c6725bfac4e5 to your computer and use it in GitHub Desktop.
Script to inititalize new dotfiles setup on new system.
This file contains 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
# Based on https://www.atlassian.com/git/tutorials/dotfiles | |
git init --bare $HOME/.dotfiles | |
alias gd='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' | |
gd config --local status.showUntrackedFiles no | |
echo "alias gd='/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