david/myzsh
david
/
myzsh
Archived
1
0
Fork 0

autopush by david@ghost

This commit is contained in:
david 2017-10-03 22:21:58 +02:00
parent c489cc9e0d
commit c52dc6f56a
1 changed files with 0 additions and 9 deletions

View File

@ -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