Updated install.sh
This commit is contained in:
parent
eb9fbdb3ef
commit
3a5fd76886
24
install.sh
24
install.sh
|
@ -12,7 +12,7 @@ while true; do
|
|||
break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
while true; do
|
||||
|
@ -29,7 +29,7 @@ while true; do
|
|||
break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
while true; do
|
||||
|
@ -40,7 +40,7 @@ while true; do
|
|||
break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
while true; do
|
||||
|
@ -51,24 +51,18 @@ while true; do
|
|||
break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
while true; do
|
||||
read -p "Do you wish to install powerline? " yn
|
||||
read -p "Do you wish to install source code pro with powerline? " yn
|
||||
case $yn in
|
||||
[Yy]* ) pip install --user git+git://github.com/Lokaltog/powerline;
|
||||
cd ..
|
||||
wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf;
|
||||
mkdir -p ~/.fonts/ && mv PowerlineSymbols.otf ~/.fonts/;
|
||||
fc-cache -vf ~/.fonts;
|
||||
mkdir -p ~/.config/fontconfig/conf.d/ && mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/;
|
||||
cd .dotfiles
|
||||
[Yy]* ) ssudo curl -fsSL https://github.com/Lokaltog/powerline-fonts/raw/master/SourceCodePro/Sauce%20Code%20Powerline%20Regular.otf -o /usr/local/bin/tmux-vim-select-pane;
|
||||
echo "Done...";
|
||||
break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
while true; do
|
||||
|
@ -80,7 +74,7 @@ while true; do
|
|||
break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
while true; do
|
||||
|
@ -91,7 +85,7 @@ while true; do
|
|||
break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
echo "Done installing...";
|
||||
|
|
Loading…
Reference in New Issue
Block a user