addet fisher plugin support
This commit is contained in:
parent
b1337c69b8
commit
f322dfa16a
2 changed files with 42 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue