autopush by david@ghost
This commit is contained in:
parent
383c18f0c7
commit
fcd0c174a9
|
@ -61,7 +61,7 @@ installmyzsh()
|
|||
choice="null"
|
||||
while [ $choice != "y" ] && [ $choice != "n" ]; do
|
||||
read -p "[myzsh]: should i clone myzsh writeable? [y/n]" choice
|
||||
if [ $choice == "y" ]; then
|
||||
if [ "$choice" == "y" ]; then
|
||||
git clone git@socialg.it:david/myzsh.git ~/.myzsh
|
||||
else
|
||||
git clone https://socialg.it/david/myzsh.git ~/.myzsh
|
||||
|
@ -90,7 +90,7 @@ if [ -d ~/.myzsh ]; then
|
|||
choice="null"
|
||||
echo "[myzsh]: it seems i have already been set up."
|
||||
read -p "[myzsh]: should i cleanup & reinstall? [y/n]" choice
|
||||
if [ $choice == "y" ]; then
|
||||
if [ "$choice" == "y" ]; then
|
||||
installdeps
|
||||
installmyzsh
|
||||
else
|
||||
|
|
Reference in New Issue