[fish] install fisher if not available
This commit is contained in:
parent
750249cb31
commit
f74bf435a8
|
@ -52,6 +52,6 @@ end
|
|||
if not functions -q fisher
|
||||
echo "Installing fisher for the first time..." >&2
|
||||
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
|
||||
curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
|
||||
fisher
|
||||
curl https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
|
||||
fish -c fisher update
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue