mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 13:23:53 +08:00
Fix completion for --exact
option to fzf
These double hyphens will make the completion resolve to `----exact` which isn't a valid option.
This commit is contained in:
parent
e8c9da100c
commit
f496b07c7c
|
@ -3,7 +3,7 @@ complete -c fzf -f
|
||||||
# Search mode
|
# Search mode
|
||||||
complete -c fzf -l no-extended -d no-extended
|
complete -c fzf -l no-extended -d no-extended
|
||||||
complete -c fzf -n 'string match "+*" -- (commandline -ct)' -a +x -d no-extended
|
complete -c fzf -n 'string match "+*" -- (commandline -ct)' -a +x -d no-extended
|
||||||
complete -c fzf -s e -l --exact -d 'Enable exact-match'
|
complete -c fzf -s e -l exact -d 'Enable exact-match'
|
||||||
complete -c fzf -n 'string match "+*" -- (commandline -ct)' -a +i -d 'case-sensitive match'
|
complete -c fzf -n 'string match "+*" -- (commandline -ct)' -a +i -d 'case-sensitive match'
|
||||||
complete -c fzf -s i -d 'Case-insensitive match'
|
complete -c fzf -s i -d 'Case-insensitive match'
|
||||||
complete -c fzf -l literal -d 'Do not normalize latin script letters for matching'
|
complete -c fzf -l literal -d 'Do not normalize latin script letters for matching'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user