Last active
February 22, 2019 16:27
-
-
Save tomtomsen/6287d3b38c06162ee948d0af06d83a8b to your computer and use it in GitHub Desktop.
Revisions
-
tomtomsen revised this gist
Feb 22, 2019 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,6 @@ else dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .dotfiles-backup/{} fi; dotfiles checkout dotfiles config status.showUntrackedFiles no dotfiles config user.email "[email protected]" dotfiles config user.name "tom tomsen" -
tomtomsen revised this gist
Feb 22, 2019 . No changes.There are no files selected for viewing
-
tomtomsen revised this gist
Feb 22, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,4 @@ else dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .dotfiles-backup/{} fi; dotfiles checkout dotfiles config status.showUntrackedFiles no -
tomtomsen revised this gist
Feb 22, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ git clone --bare [email protected]:tom-tomsen/dotfilesv2.git $HOME/.dotfiles function dotfiles { /usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@ } -
tomtomsen created this gist
Feb 22, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ git clone --bare [email protected]:tom-tomsen/dotfilesv2.git $HOME/.cfg function dotfiles { /usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@ } mkdir -p .dotfiles-backup dotfiles checkout if [ $? = 0 ]; then echo "Checked out dotfiles."; else echo "Backing up pre-existing dot files."; dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .dotfiles-backup/{} fi; dotfiles checkout dotfiles status.showUntrackedFiles no