* [PATCH 1/4] lei: completion: fix filename completion
2021-01-05 9:04 6% [PATCH 0/4] more lei usability stuff Eric Wong
@ 2021-01-05 9:04 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-01-05 9:04 UTC (permalink / raw)
To: meta
"-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(-)
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
^ permalink raw reply related [relevance 7%]
* [PATCH 0/4] more lei usability stuff
@ 2021-01-05 9:04 6% Eric Wong
2021-01-05 9:04 7% ` [PATCH 1/4] lei: completion: fix filename completion Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-01-05 9:04 UTC (permalink / raw)
To: meta
Eric Wong (4):
lei: completion: fix filename completion
lei: automatic pager support
lei: use client env as-is, drop daemon-env command
address: pairs: new helper for JMAP (and maybe lei)
contrib/completion/lei-completion.bash | 2 +-
lib/PublicInbox/Address.pm | 11 ++++-
lib/PublicInbox/AddressPP.pm | 21 ++++++++
lib/PublicInbox/LEI.pm | 68 +++++++++++++++-----------
t/address.t | 33 ++++++++++---
t/lei.t | 30 +-----------
6 files changed, 100 insertions(+), 65 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-01-05 9:04 6% [PATCH 0/4] more lei usability stuff Eric Wong
2021-01-05 9:04 7% ` [PATCH 1/4] lei: completion: fix filename completion Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).