Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completing arguments by looking in arguments history
- X-seq: zsh-users 7234
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: completing arguments by looking in arguments history
- Date: Tue, 23 Mar 2004 02:55:43 +0000
- In-reply-to: <20040322162155.GA29950@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040322162155.GA29950@xxxxxxxxxxxx>
On Mar 22, 11:21am, xavier wrote:
}
} dig @<tab> will complete using all arguments in history starting with @
}
} is there a way to do it with zsh ?
Yes, if you're using compsys with the emacs-style bindings, which it
sounds as if you are, try typing Escape followed by either a comma or
a slash.
Look for _history_complete_word in "man zshcompsys".
(If you're using vi bindings you'll probably have to set up your own
bindkey for this.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author