pushzshconfig 20.06.2013 19:54
This commit is contained in:
parent
ed05a85ad8
commit
1c22c9efbc
3
myzsh.sh
3
myzsh.sh
|
@ -29,7 +29,7 @@ if [ -r $ZSH/lastrun ];then
|
|||
echo -e "do you want to fix this? [y/n] \c"
|
||||
read choice
|
||||
if [ $choice = "y" ]; then
|
||||
cd $ZSH; git remote -v | grep @ >> /dev/null
|
||||
cd $ZSH; git remote -v | grep @ >> /dev/null; cd -
|
||||
if [ $? -eq 0 ]; then
|
||||
cd $ZSH; git remote rm origin
|
||||
git remote add origin git@github.com:beyondthewall/myzsh.git
|
||||
|
@ -37,6 +37,7 @@ if [ -r $ZSH/lastrun ];then
|
|||
cd $ZSH; git remote rm origin
|
||||
git remote add origin https://github.com/beyondthewall/myzsh.git
|
||||
fi
|
||||
cd -
|
||||
fi
|
||||
fi
|
||||
echo "running update of myzsh now.."
|
||||
|
|
Reference in New Issue