tangled
alpha
login
or
join now
boltless.me
/
dot
0
fork
atom
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
feat(fish): add shell completion from brew
BoltlessEngineer
2 years ago
d6bb717f
0d19370b
+8
1 changed file
expand all
collapse all
unified
split
fish
config.fish
+8
fish/config.fish
···
41
41
## FZF
42
42
set -gx FZF_DEFAULT_OPTS "--bind='ctrl-u:preview-half-page-up' \
43
43
--bind='ctrl-d:preview-half-page-down'"
44
44
+
45
45
+
# brew shell completion (see: https://docs.brew.sh/Shell-Completion)
46
46
+
if test -d (brew --prefix)"/share/fish/completions"
47
47
+
set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/completions
48
48
+
end
49
49
+
if test -d (brew --prefix)"/share/fish/vendor_completions.d"
50
50
+
set -gx fish_complete_path $fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
51
51
+
end
44
52
end