changed scripts
This commit is contained in:
parent
5e02f6e876
commit
c00931fd30
1 changed files with 7 additions and 2 deletions
|
@ -6,13 +6,18 @@
|
||||||
# ╰───────────────────────────────────╯
|
# ╰───────────────────────────────────╯
|
||||||
|
|
||||||
function check_fisher
|
function check_fisher
|
||||||
if [ ! -f $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
|
||||||
else
|
else
|
||||||
# ─< define plugins to use with fisher >────────────────────────────────────────────────────
|
# ─< define plugins to use with fisher >────────────────────────────────────────────────────
|
||||||
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
|
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
|
||||||
for plug in $plugin
|
for plug in $plugin
|
||||||
fisher update $plug || fisher install $plug
|
if fisher update $plug
|
||||||
|
echo "Updated $plug"
|
||||||
|
else
|
||||||
|
fisher install $plug
|
||||||
|
echo "Installed $plug"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue