forked from mudhorn/dotfiles
add control for Vim-script
This commit is contained in:
parent
cc25cf4b18
commit
63d857ebc7
|
@ -5,4 +5,12 @@ for file in $(find . -maxdepth 1 -name ".*" -type f -printf "%f\n" ); do
|
|||
fi
|
||||
ln -s $PWD/$file ~/$file
|
||||
done
|
||||
if hash vim-addon 2>/dev/null; then
|
||||
echo "vim-addon (vim-scripts) installed"
|
||||
else
|
||||
echo "vim-addon (vim-scripts) not installed, running 'sudo apt update; sudo apt install bc'"
|
||||
sudo apt update; sudo apt install vim-scripts
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Installed"
|
||||
|
|
Loading…
Reference in a new issue