pushzshconfig 22.01.2013 11:38
This commit is contained in:
parent
9606ebbbb6
commit
0537786b92
|
@ -1,5 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
removeohmyzsh()
|
||||
{
|
||||
rm -rf ~/.oh-my-zsh
|
||||
}
|
||||
|
||||
installdeps()
|
||||
{
|
||||
|
||||
|
@ -88,6 +93,7 @@ if [ -d ~/.myzsh ]; then
|
|||
read -p "do you want to cleanup and reinstall? [y/n]" choice
|
||||
if [ $choice = "y" ]; then
|
||||
installdeps
|
||||
removeohmyzsh
|
||||
installmyzsh
|
||||
else
|
||||
echo "updating instead..."
|
||||
|
@ -97,6 +103,7 @@ if [ -d ~/.myzsh ]; then
|
|||
fi
|
||||
else
|
||||
installdeps
|
||||
removeohmyzsh
|
||||
installmyzsh
|
||||
fi
|
||||
|
||||
|
|
Reference in New Issue