From bc4bb61585ba27531e3519c7d70cdda77acb0962 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 18 Feb 2023 18:27:36 +0100 Subject: [PATCH] delete old update_nvim_plugins --- .../fish/functions/update_nvim_plugins.fish | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .config/fish/functions/update_nvim_plugins.fish 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