help-bash
[Top][All Lists]
Advanced

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

[Help-bash] Bash history


From: Bharath Bhushan Lohray
Subject: [Help-bash] Bash history
Date: Mon, 23 Mar 2015 10:48:37 -0700

Hi,

I would like to modify the way bash retrieves history at the command
prompt. What source file do I find this part of the code?

I would like to restrict the history retrieval to only the commands that
begin with the letters at the prompt.

For example -
$ l
<up arrow>
$ ls
<up arrow>
$ ls -alh
<up arrow>
$ ls -lh /var/log

I may also like to add a modifier to this - like use <shift> + <up arrow>
to trigger this behaviour.

Any tips would be helpful.

Warm regards,
Bharath.


reply via email to

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