autopush by david@ghost
This commit is contained in:
parent
d3a37f1bd9
commit
a7e8b290d2
|
@ -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
|
||||
|
|
Reference in New Issue