Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Anyway to ignore an argument when doing tab completion?
- X-seq: zsh-users 27565
- From: Steve Dondley <s@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Anyway to ignore an argument when doing tab completion?
- Date: Wed, 16 Mar 2022 01:54:17 -0400
- Archived-at: <https://zsh.org/users/27565>
- List-id: <zsh-users.zsh.org>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author