How can I make pressing up/down on bash bring up the last command that started with the prefix I already entered?
E.g.
$ ls foo
$ echo hello
$ ls <UP_ARROW>
Clicking UP after entering ls should bring up "ls foo" and not "echo hello"
|
How can I make pressing up/down on bash bring up the last command that started with the prefix I already entered? E.g.
Clicking UP after entering ls should bring up "ls foo" and not "echo hello" |
|||
|
|
|
A few possibilities:
|
||||