Improve loading of fzf completions
This commit is contained in:
parent
95153292ea
commit
a2bf3fc412
3 changed files with 10 additions and 14 deletions
|
@ -1,6 +1,4 @@
|
|||
# fzf completions
|
||||
test -e /opt/homebrew/opt/fzf/shell/completion.zsh && source /opt/homebrew/opt/fzf/shell/completion.zsh
|
||||
test -e /usr/share/fzf/completion.zsh && source /usr/share/fzf/completion.zsh
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
# cURL completions copied from https://blog.revathskumar.com/2024/02/curl-fuzzy-search-options-using-fzf.html
|
||||
_fzf_complete_curl() {
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# Setup fzf completions
|
||||
if (( ${+commands[fzf]} )); then
|
||||
eval "$(fzf --zsh)"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue