mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Fish updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user