david/myzsh
david
/
myzsh
Archived
1
0
Fork 0

autopush by david@ghost

This commit is contained in:
david 2017-10-03 22:33:57 +02:00
parent d3a37f1bd9
commit a7e8b290d2
1 changed files with 2 additions and 5 deletions

View File

@ -60,7 +60,6 @@ installmyzsh()
rm -rf ~/.myzsh
choice="null"
while [ $choice != "y" ] && [ $choice != "n" ]; do
echo ""
read -p "[myzsh]: should i clone myzsh writeable? [y/n]" choice
if [ $choice == "y" ]; then
git clone git@socialg.it:david/myzsh.git ~/.myzsh
@ -89,10 +88,8 @@ installmyzsh()
if [ -d ~/.myzsh ]; then
echo "[myzsh]: it seems i have already been set up."
choice="null"
read -p "[myzsh]: should i cleanup and reinstall? [y/n]" choice
echo "debug: $choice"
if [ $choice == "y" ]; then
read -p "[myzsh]: should i cleanup & reinstall? [y/n]" choice
if [ -n $choice ] || [ $choice == "y" ]; then
installdeps
installmyzsh
else