else
vcsh clone $GIT_BASE/mr.git mr;
fi;
+
mr checkout;
for a in .zsh .ssh; do
done;
if [ ! -e .ssh/authorized_keys ]; then
- (cd .ssh/; ln authorized_keys_default authorized_keys -s;)
+ (cd .ssh/; ln authorized_keys_default authorized_keys -s; )
fi;
# do some cleanup; you might want to run git reset --hard in some
mr run git reset --soft origin/master
mr up
-# make sure mr and vcsh are in ~/bin if they are in ~/bin.bak
+# move mr and vcsh to ~/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;
+ mv ~/bin.bak/$pkg ~/bin/;
fi;
+done;