diff options
author | Justin Gassner <justin.gassner@mailbox.org> | 2022-10-17 01:54:43 +0200 |
---|---|---|
committer | Justin Gassner <justin.gassner@mailbox.org> | 2022-10-17 01:54:43 +0200 |
commit | 37d1285c29ba193d51a60f4cd8ba24f93029e00f (patch) | |
tree | 66dc9c28b62b06e29b5b10d64058a5f2ad38bd83 /.local/bin | |
parent | 2a5b77d50629a0535ac4d80afc3896e98124f405 (diff) | |
download | dotfiles-37d1285c29ba193d51a60f4cd8ba24f93029e00f.tar.zst |
Neovim plugin upgrade functionality
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/upgrade | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/upgrade b/.local/bin/upgrade index e6955eb..909b170 100755 --- a/.local/bin/upgrade +++ b/.local/bin/upgrade @@ -8,3 +8,8 @@ mapfile -t orphans < <(pacman -Qdttq) if (( ${#orphans[@]} )); then sudo pacman -Rns "${orphans[@]}" fi + +# Update Neovim plugins +if [[ -d ~/.config/nvim/pack/ ]]; then + find ~/.config/nvim/pack/ -name .git -type d -print -execdir git pull \; +fi |