Skip to content

Instantly share code, notes, and snippets.

@m-bers
Last active March 29, 2021 02:56
Show Gist options
  • Save m-bers/93e0908dee9f8eb5c90c19f85715a0a2 to your computer and use it in GitHub Desktop.
Save m-bers/93e0908dee9f8eb5c90c19f85715a0a2 to your computer and use it in GitHub Desktop.
#!/bin/zsh
echo ".dot" >> .gitignore
git clone https://github.com/m-bers/dotfiles.git $HOME/.dot
alias dot='/usr/bin/git --git-dir=$HOME/.dot/.git --work-tree=$HOME'
dot config --local status.showUntrackedFiles no
dot checkout $HOME --track origin/dot
dot submodule update --init --recursive
source ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment