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

Prefix-oriented Bash history




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