[fish] install fisher if not available

This commit is contained in:
eleith 2023-03-22 04:54:21 +00:00
parent f74bf435a8
commit f34acbbe2c
1 changed files with 1 additions and 1 deletions

View File

@ -53,5 +53,5 @@ 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://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
fish -c fisher update
fish -c "fisher update"
end