There was an error while loading. Please reload this page.
1 parent 7c0ad64 commit 302069bCopy full SHA for 302069b
install.sh
@@ -1,12 +1,19 @@
1
+clear
2
echo "Well congrats on taking the big step into my .ViM config!"
3
echo ""
4
echo "If you want to keep your .vimrc then back that shit up!"
5
-echo "I'm about to override anything you have in thurr"
6
-echo ""
7
-echo "Cool?"
8
-
9
-ln -sf ~/.vim/vimrc ~/.vimrc
10
-cd ~/.vim
11
- git submodule update --init
12
+while true; do
+read -p "Do you want to continue y or n? " yn
+case $yn in
+[Yy]* )
+ln -sf ~/.vim/vimrc ~/.vimrc ;
+cd ~/.vim ;
+git submodule update --init ;
13
+break;;
14
+[Nn]* ) echo "Bye";
15
+exit;;
16
+* ) echo "Please answer yes or no.";
17
+echo "";;
18
+esac
19
+done
0 commit comments