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