From 5e503fc272cb1d0afabc4724398b72e4ad5c4777 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 5 Jan 2021 09:04:34 +0000 Subject: lei: completion: fix filename completion "-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. --- contrib/completion/lei-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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 -- cgit v1.2.3-24-ge0c7