addet fisher-update and installation

This commit is contained in:
pika 2024-06-03 11:41:12 +02:00
parent 01e724ba5d
commit 81301915ce

View file

@ -205,8 +205,12 @@ end
# ╰───────────────────────────────────────────────────────╯ # ╰───────────────────────────────────────────────────────╯
function check_fishr function check_fishr
if test ! -e $HOME/.config/fish/functions/fisher.fish && test ! -e $HOME/.config/fish/.fishr.init if test -e $HOME/.config/fish/.fishr.init
echo "you did it!!"> $HOME/.config/fish/.fishr.init && curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source & fisher install jorgebucaran/fisher fisher update
else
if test ! -e $HOME/.config/fish/functions/fisher.fish
echo "you did it!!"> $HOME/.config/fish/.fishr.init && curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source & fisher install jorgebucaran/fisher
end
end end
end end