Last active
November 18, 2019 16:44
-
-
Save rensjaspers/3f8e3252ad244cc20d9adbafd9cf4752 to your computer and use it in GitHub Desktop.
Quickly install dotfiles
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
#!/bin/bash | |
git clone --bare git@github.com:rensjaspers/dotfiles.git $HOME/.mydotfiles | |
function mydotfiles { | |
/usr/bin/git --git-dir=$HOME/.mydotfiles/ --work-tree=$HOME $@ | |
} | |
mydotfiles checkout | |
mydotfiles config status.showUntrackedFiles no | |
mydotfiles submodule init | |
mydotfiles submodule update --remote --recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment