autopush by david@ghost
This commit is contained in:
parent
c489cc9e0d
commit
c52dc6f56a
|
@ -1,10 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
removeohmyzsh()
|
||||
{
|
||||
rm -rf ~/.oh-my-zsh
|
||||
}
|
||||
|
||||
installdeps()
|
||||
{
|
||||
|
||||
|
@ -93,13 +88,10 @@ installmyzsh()
|
|||
|
||||
|
||||
if [ -d ~/.myzsh ]; then
|
||||
echo ""
|
||||
echo "[myzsh]: it seems i have already been setup."
|
||||
echo ""
|
||||
read -p "[myzsh]: should i cleanup and reinstall? [y/n]" choice
|
||||
if [ $choice = "y" ]; then
|
||||
installdeps
|
||||
#removeohmyzsh
|
||||
installmyzsh
|
||||
else
|
||||
echo "[myzsh]: updating instead."
|
||||
|
@ -109,7 +101,6 @@ if [ -d ~/.myzsh ]; then
|
|||
fi
|
||||
else
|
||||
installdeps
|
||||
#removeohmyzsh
|
||||
installmyzsh
|
||||
fi
|
||||
|
||||
|
|
Reference in New Issue