bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A wonderful idea about shell!


From: Eric Blake
Subject: Re: A wonderful idea about shell!
Date: Sat, 17 May 2008 13:04:26 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to donglongchao on 5/16/2008 11:28 PM:
|  We could put the current point to the location of the command which is
just executed by us,so that we could find the near commands we need
immediately,and don not need to press the key of 'up' or 'down' many many
times.

The 'reverse-search-history' readline command, bound by default to
control-r, seems like the perfect fit for what you are describing - a
shortcut for rapidly searching through only the commands that contain a
particular substring, rather than having to cycle through every single
recent command with the 'up' and 'down' arrows.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgvLDoACgkQ84KuGfSFAYDL7gCgqB0iXfbCKQ8HRv97ezmUjCpd
mBMAoJePRYKldzQ5w/4/4ndOvU1WOmlu
=/M+2
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]