pushzshconfig 20.06.2013 15:57
This commit is contained in:
parent
37849ce0ae
commit
91d414f5ca
6
myzsh.sh
6
myzsh.sh
|
@ -31,11 +31,11 @@ if [ -r $ZSH/lastrun ];then
|
|||
if [ $choice = "y" ]; then
|
||||
cd $ZSH; git remote -v | grep @ >> /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
cd $ZSH; git remote remove origin
|
||||
cd $ZSH; git remote rm origin
|
||||
git remote add origin git@github.com:beyondthewall/myzsh.git
|
||||
else
|
||||
cd $ZSH; git remote remove origin
|
||||
git remote add origin git@github.com:beyondthewall/myzsh.git
|
||||
cd $ZSH; git remote rm origin
|
||||
git remote add origin https://github.com/beyondthewall/myzsh.git
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Reference in New Issue