Fish updates

This commit is contained in:
David Tomaschik
2026-02-17 12:31:12 -08:00
parent 645b631afc
commit aea7b0927e
5 changed files with 50 additions and 5 deletions

View File

@@ -1,4 +1,3 @@
if test -x /opt/homebrew/bin/brew
/opt/homebrew/bin/brew shellenv fish | source
if test -d (brew --prefix)"/share/fish/completions"
@@ -14,5 +13,17 @@ if command -q starship
starship init fish --print-full-init | source
end
function install_fisher
if not test -e ~/.config/fish/functions/fisher.fish
echo "Installing Fisher for fish shell..."
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source
fisher install jorgebucaran/fisher
end
end
if status --is-interactive
install_fisher
end
# Want this at the bottom to put this path first
fish_add_path --move --path {$HOME}/bin