addet fisher plugin support
This commit is contained in:
parent
649b2c438c
commit
285aee5ce6
2 changed files with 8 additions and 6 deletions
|
@ -95,7 +95,7 @@ if command -v apk >/dev/null 2>&1
|
||||||
end
|
end
|
||||||
|
|
||||||
# if [[ ! -e $HOME/.config/fish/functions/fisher.fish ]]
|
# if [[ ! -e $HOME/.config/fish/functions/fisher.fish ]]
|
||||||
# check_fisher
|
check_fisher
|
||||||
# else
|
# else
|
||||||
# plugins_fisher
|
# plugins_fisher
|
||||||
# end
|
# end
|
||||||
|
|
|
@ -8,12 +8,9 @@
|
||||||
function check_fisher
|
function check_fisher
|
||||||
if [[ ! -e $HOME/.config/fish/functions/fisher.fish ]]
|
if [[ ! -e $HOME/.config/fish/functions/fisher.fish ]]
|
||||||
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
|
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
|
||||||
end
|
else
|
||||||
end
|
# ─< define plugins to use with fisher >────────────────────────────────────────────────────
|
||||||
|
|
||||||
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
|
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
|
||||||
|
|
||||||
function plugins_fisher
|
|
||||||
for plug in $plugin
|
for plug in $plugin
|
||||||
if fisher update $plug
|
if fisher update $plug
|
||||||
echo "Updated $plug"
|
echo "Updated $plug"
|
||||||
|
@ -23,3 +20,8 @@ function plugins_fisher
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
function plugins_fisher
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue