[fish] install fisher if not available

This commit is contained in:
eleith 2023-03-22 04:32:58 +00:00
parent 2b6f11a744
commit 750249cb31
2 changed files with 7 additions and 1 deletions

View File

@ -48,3 +48,10 @@ if type -q fzf
fzf_configure_bindings --directory=\cf --git_status=\cg
end
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
end

View File

@ -146,7 +146,6 @@ return {
"scss",
"less",
"html",
"json",
"jsonc",
"yaml",
"graphql",