11 lines
276 B
Bash
Executable file
11 lines
276 B
Bash
Executable file
#!/bin/bash
|
|
|
|
GIT_DIRS=(. ~/.vim/bundle ~/.config/nvim)
|
|
for dir in ${GIT_DIRS[@]} ; do
|
|
git -C "$dir" git stash
|
|
git -C "$dir" pull
|
|
git -C "$dir" git stash pop
|
|
done
|
|
|
|
nvim -c "autocmd User PackerComplete quitall" -c "PackerSync"
|
|
vim -c ":PluginUpdate" -c ":q" -c ":q"
|