include cloning powerline fonts and tmux plugin manager to facilitate tmux-resurrect

This commit is contained in:
Paul Trowbridge 2020-12-06 22:20:08 -05:00
parent 2569f31f87
commit 05f8f35da4

View File

@ -30,6 +30,44 @@ do
ln -s $dir/$file ~/$file ln -s $dir/$file ~/$file
done 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----------------------------------------------------- #----------------------------------------------------------see if Vundle has been cloned yet and do so-----------------------------------------------------
if [ ! -d ~/.vim ] if [ ! -d ~/.vim ]