addet fisher plugin support

This commit is contained in:
PieckA 2024-05-24 23:13:09 +02:00
parent b1337c69b8
commit f322dfa16a
2 changed files with 42 additions and 25 deletions

View file

@ -11,8 +11,17 @@ if [[ ! -e $HOME/.config/fish/functions/fisher.fish ]]
end
end
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
function plugins_fisher
if command -v fisher >/dev/null 2>&1
fisher install PatrickF1/fzf.fish
for plug in $plugin
if fisher update $plug
echo "Updated $plug"
else
fisher install $plug
echo "Installed $plug"
end
end
end
plugins_fisher