dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit ccc760f556eb25027689e3320a0d0d4fe127ea1e (patch)
parent 8785c622ee346c9d8d2c451b8675b93da56212af
Author: Alexander Karle <akarle@umass.edu>
Date:   Wed,  2 May 2018 14:06:34 -0400

Install creates & switches to branch of user name

This is useful when I maintain different versions of
the dotfiles on different machines!

Diffstat:
Minstall.sh | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/install.sh b/install.sh @@ -108,6 +108,8 @@ fi # Next, clone a fresh one try_mkdir $HOMEDOTS git clone https://github.com/akarle/dotfiles.git $HOMEDOTS +success_msg "Clone successful! Putting you on your own branch '$(whoami)' so you can make changes!" +(cd $HOMEDOTS && exec git checkout -b $(whoami)) # $HOME level ln's try_ln $DOTSVIM/vimrc $HOME/.vimrc