* Anyway to ignore an argument when doing tab completion?
@ 2022-03-16 5:54 Steve Dondley
0 siblings, 0 replies; only message in thread
From: Steve Dondley @ 2022-03-16 5:54 UTC (permalink / raw)
To: zsh-users
Not sure if this is possible. I’ve got this command:
function task() {
command task "$@" $FILTER
}
Task has tab completion. But I don’t want the $FILTER arguments to get processed by tab completion. But when I hit return to run the actual command, I’d like them to get injected in as an argument just before the command runs.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-16 5:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16 5:54 Anyway to ignore an argument when doing tab completion? Steve Dondley
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).