diff --git a/.config/fish/functions/update_nvim_plugins.fish b/.config/fish/functions/update_nvim_plugins.fish deleted file mode 100644 index beba162..0000000 --- a/.config/fish/functions/update_nvim_plugins.fish +++ /dev/null @@ -1,19 +0,0 @@ -# This function updates neovim plugins. -# This is more or less just a workaround until packer can support my exotic setup. - -function update_nvim_plugins - set prevdir (pwd) - - set packdir ~/.local/share/nvim/site/pack/packer/ - cd $packdir - - for d in (fd '\.git$' --hidden --type directory) - cd $d/.. - # reset is needed because of compiled lua files - git reset --hard HEAD - git pull - cd $packdir - end - - cd $prevdir -end