From: Don Armstrong Date: Wed, 24 Sep 2014 05:33:20 +0000 (-0700) Subject: set PATH to point at mr and vcsh X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ea40fa6e1517d2d25cccf0cfc50a5f58ca24614f;hp=6ff59b0e5cc6867c77175d1411d7eaa299af38a4;p=bin.git set PATH to point at mr and vcsh copy back mr and vcsh symlinks --- diff --git a/new_home_directory b/new_home_directory index 1b04678..99585bd 100755 --- a/new_home_directory +++ b/new_home_directory @@ -26,6 +26,8 @@ for pkg in mr vcsh; do if [ "$pkg" == "mr" ]; then echo "include = cat ~/local_packages/$pkg/usr/share/mr/*" >> ~/.mrconfig fi; + PATH="$HOME/local_packages/$pkg/usr/bin/:$PATH" + export PATH fi; done; @@ -73,3 +75,9 @@ fi; # that should be kept mr run git reset --soft origin/master mr up + +# make sure mr and vcsh are in ~/bin if they are in ~/bin.bak +for pkg in mr vcsh; do + if [ -e ~/bin.bak/$pkg ]; then + cp ~/bin.bak/$pkg ~/bin/$pkg; + fi;