#------------------------------------------------ create the resore directory if it doesn't already exist--------------------------------------------------
#-------------------------------------- loop through each target file, move it and create a symlink to the replacements------------------------------------
#----------------------------------------------------------install go and go-powerline--------------------------------------------------------------------
if[ -z "$GOPATH"]
then
while true;do
read -p "do you want to install golang and go-powerline?" yn
#----------------------------------------------------------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
#----------------------------------------------------------see if Vundle has been cloned yet and do so-----------------------------------------------------