Dotfiles & curl installation
This commit is contained in:
parent
639e4dbf2d
commit
06e8f1e385
2 changed files with 16 additions and 15 deletions
|
|
@ -7,11 +7,10 @@ function get_path {
|
|||
|
||||
function user_config {
|
||||
|
||||
if [ 'dpkg -l curl' == 1 ]; then
|
||||
CURL='dpkg-query -l | grep curl | wc -l'
|
||||
if [ "$CURL" > 0 ]; then
|
||||
echo 'Curl not installed, installing....'
|
||||
apt-get install -y curl
|
||||
#echo 'Exiting...'
|
||||
#exit 1
|
||||
fi
|
||||
|
||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||
|
|
@ -27,17 +26,5 @@ function user_config {
|
|||
|
||||
}
|
||||
|
||||
function powerline_fonts {
|
||||
git clone https://github.com/powerline/fonts.git $HOME/.fonts
|
||||
$HOME/.fonts/install.sh
|
||||
}
|
||||
|
||||
user_config
|
||||
echo 'Dont forget to run :PlugInstall inside vim!'
|
||||
|
||||
echo -n 'Extra fonts? [y/n]'
|
||||
read FONTS
|
||||
|
||||
if [ "$FONTS" == "y" ] ;then
|
||||
powerline_fonts
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue