addet fisher-update and installation
This commit is contained in:
parent
01e724ba5d
commit
81301915ce
1 changed files with 6 additions and 2 deletions
|
@ -205,9 +205,13 @@ 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 >────────────────────────────────────
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue