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,10 +205,14 @@ end
# ╰───────────────────────────────────────────────────────╯
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
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
# ────────────────────────────────────< setup some stuff >────────────────────────────────────
upin