[fish] install fisher if not available
This commit is contained in:
parent
2b6f11a744
commit
750249cb31
|
@ -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
|
||||
|
|
|
@ -146,7 +146,6 @@ return {
|
|||
"scss",
|
||||
"less",
|
||||
"html",
|
||||
"json",
|
||||
"jsonc",
|
||||
"yaml",
|
||||
"graphql",
|
||||
|
|
Loading…
Reference in New Issue