diff --git a/setup.sh b/setup.sh index 3ac05c9..015dcff 100755 --- a/setup.sh +++ b/setup.sh @@ -30,6 +30,44 @@ do ln -s $dir/$file ~/$file done +#----------------------------------------------------------install power line fonts------------------------------------------------------------------------ + +if [ ! -d ~/fonts ] +then + while true; do + read -p "do you want to install powerline fonts from https://github.com/powerline/fonts?" yn + case $yn in + [Yy]* ) + git clone https://github.com/powerline/fonts; + cd fonts; + ./install.sh; + break;; + [Nn]* ) + exit;; + * ) echo "Please answer yes or no.";; + esac + done +fi + + +#----------------------------------------------------------install tmux plugin manager and tmux resurrect-------------------------------------------------- + +if [ ! -d ~/.tmux/plugins/tpm ] +then + while true; do + read -p "do you want to install the tmux plugin manager from https://github.com/tmux-plugins/tpm" yn + case $yn in + [Yy]* ) + git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm; + break;; + [Nn]* ) + exit;; + * ) echo "Please answer yes or no.";; + esac + done +fi + + #----------------------------------------------------------see if Vundle has been cloned yet and do so----------------------------------------------------- if [ ! -d ~/.vim ]