Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completing arguments by looking in arguments history



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