1
0
mirror of https://github.com/alrayyes/server-dotfiles synced 2023-11-14 15:56:25 +00:00
server-dotfiles/install

18 lines
382 B
Plaintext
Raw Normal View History

2020-02-14 15:18:48 +00:00
#!/usr/bin/env bash
for d in $(ls -d */ | cut -f1 -d '/'); do
(stow $d)
done
# Install vim plugins & requirements
if [ ! "$(pip list --user | grep 'pynvim' | wc -l)" -ge 1 ]; then
pip install --user pynvim
fi
nvim +PlugInstall +qall
# Create nvim config directory if it doesn't exist
if [ ! -d ~/.config/nvim ]; then
echo "Creating ~/.config/nvim"
mkdir -p ~/.config/nvim
fi