about summary refs log tree commit
path: root/contrib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-05 09:04:34 +0000
committerEric Wong <e@80x24.org>2021-01-06 10:45:06 +0000
commit5e503fc272cb1d0afabc4724398b72e4ad5c4777 (patch)
tree4741252d7ac90bf0b365fabb38183b786307641c /contrib
parentf692276e2bcce22160248f27a905e517e706a952 (diff)
downloadpublic-inbox-5e503fc272cb1d0afabc4724398b72e4ad5c4777.tar.gz
"-o default" is what we want from "complete", "-o filename" just
tells readline the result from the "_lei" function might be a
filename and quote appropriately.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/lei-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/lei-completion.bash b/contrib/completion/lei-completion.bash
index 5f47433b..0b82b109 100644
--- a/contrib/completion/lei-completion.bash
+++ b/contrib/completion/lei-completion.bash
@@ -8,4 +8,4 @@ _lei() {
                         -- "${COMP_WORDS[COMP_CWORD]}"))
         return 0
 }
-complete -o filenames -o bashdefault -F _lei lei
+complete -o default -o bashdefault -F _lei lei