Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Ignore patterns for alias
On Tue, 24 Jan 2017 09:23:29 +0100
Sebastian Blask <blask@xxxxxx> wrote:
> $ which vim
> vim: aliased to exec_scmb_expand_args /usr/bin/vim
You can get this to work with
compdef _precommand exec_smb_expand_args
which tells it that that's a precommand modifier and it should look
further along for the command to complete. Then any alias using
that command will spring into life.
Unless you have a lot of these, that's probably less work than
telling it to use aliases as a basis for completion and then ensuring
you have a completion for all your aliases, However, the option
COMPLETE_ALIASES is also available.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author