[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Prefix-oriented Bash history
- To: <linux-il(at-nospam)linux.org.il>
- Subject: Prefix-oriented Bash history
- From: Shlomi Fish <shlomif(at-nospam)techst02.technion.ac.il>
- Date: Fri, 17 Aug 2001 19:31:35 +0300 (EEST)
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
I'd like my bash history to search for history while considering the
prefix of the command up to the cursor. For instance if I wrote "cd " and
started pressing up and down , it should display all the commands I wrote
that started with "cd ".
How do I do that?
Matlab has a similar feature, and while it took me some time to realize
what was going on there, I realized it was a very good idea<tm>.
TIA,
Shlomi Fish
----------------------------------------------------------------------
Shlomi Fish shlomif@t2.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/
Home E-mail: shlomif@techie.com
A more experienced programmer does not make less bugs. He just realizes
what went wrong more quickly.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il