david/myzsh
david
/
myzsh
Archived
1
0
Fork 0

pushzshconfig 22.01.2013 11:38

This commit is contained in:
david 2013-01-22 11:38:11 +01:00
parent 9606ebbbb6
commit 0537786b92
1 changed files with 7 additions and 0 deletions

View File

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