install.fairie/home/dot_config/fish/config.fish

18 lines
724 B
Fish
Raw Normal View History

2023-07-17 00:28:38 -07:00
### Homebrew Completions
# Source: https://docs.brew.sh/Shell-Completion#configuring-completions-in-fish
if test -d (brew --prefix)"/share/fish/completions"
set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/completions
end
if test -d (brew --prefix)"/share/fish/vendor_completions.d"
set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
end
2023-08-06 22:19:59 -07:00
### Carapace
# Source: https://rsteube.github.io/carapace-bin/setup.html
mkdir -p ~/.config/fish/completions
carapace --list | awk '{print $1}' | xargs -I{} touch ~/.config/fish/completions/{}.fish # disable auto-loaded completions (#185)
carapace _carapace | source
### Up
source ~/.local/share/up/up.fish