Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bck-i-search for single parameters
- X-seq: zsh-users 12756
- From: "Dan Vanderkam" <danvdk@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: bck-i-search for single parameters
- Date: Wed, 2 Apr 2008 11:15:04 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=LHlCsKy/QjgDNlT9uTlkZsJxGPycS78jO8kVGMS+q/w=; b=nWoIq2bBcDo+WpaTrhPF67yQg3XxhSbgo44VJLYi3TYcMI2DgMEEPZgK+yhpYHyZiBt6mOttgvPGprhA6sBJ26wBRbGbpYdoPCSZRcywZK1z+m4Y/+0+0hm+hFqwJfYM1ORWV/lxW9ooY66KV12wS+wE6dWo9OUCCD5ucLmM/XA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pTXH4OFyfvEWQx8U2x+AxTEmUEs+YKUZIvBsh7gDlcg52KPPqb37vjXH4Uf6Mr6pls+UknzCU24ObpycslMY2SMWU6TqS5znhJIM+eRnCZ+Rb6S6YsBBjqnAIJN0ciM7rPVchfJEXZyIyxwNEmQufRQzP/2IiCpC4suYrDK0bds=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I love being able to hit Ctrl-R to do a search backwards through my
command line history. I don't know how I lived without it. My only
complaint is that, more often than not, I find myself writing command
lines by combining flags from several other CLs. For example, I might
want to run a program (A) over the output of a previous program (B).
In my perfect zsh world, I'd ctrl-R back to the CL I previously typed
in to run program A. Then I'd do a history search for that single
parameter to program B to put them together.
Is there any way to do this? It would be like alt-period, only it
would let you search, rather than just pulling up the last parameter
to previous commands. Any ideas would be greatly appreciated.
Thanks!
- Dan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author