diff options
author | Eric Wong <e@80x24.org> | 2021-01-05 09:04:34 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-06 10:45:06 +0000 |
commit | 5e503fc272cb1d0afabc4724398b72e4ad5c4777 (patch) | |
tree | 4741252d7ac90bf0b365fabb38183b786307641c /contrib/completion | |
parent | f692276e2bcce22160248f27a905e517e706a952 (diff) | |
download | public-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/completion')
-rw-r--r-- | contrib/completion/lei-completion.bash | 2 |
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 |