From f496b07c7cc9ebf92a64762876a746ee386c0f02 Mon Sep 17 00:00:00 2001 From: Collin Styles Date: Sat, 9 Jan 2021 23:54:45 -0800 Subject: [PATCH] Fix completion for `--exact` option to `fzf` These double hyphens will make the completion resolve to `----exact` which isn't a valid option. --- share/completions/fzf.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/fzf.fish b/share/completions/fzf.fish index ccc2e0126..cd2d2a82f 100644 --- a/share/completions/fzf.fish +++ b/share/completions/fzf.fish @@ -3,7 +3,7 @@ complete -c fzf -f # Search mode 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 -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 -s i -d 'Case-insensitive match' complete -c fzf -l literal -d 'Do not normalize latin script letters for matching'