Le 18 avril 2023 songbird a écrit :

>   i like to start with a known state including the shell history
> so upon starting up a terminal i determine what commands i want
> in the history by detecting which directory i'm in (which tells
> me which project i'm working on).  it's very easy then for me
> to start things by using the !<number> or !<abbrv>.

I recently learned the ctrl-r key which launch a regex search in
history. It's more powerful than !<abbrv> as it search the full
lines so not only commands but also parameters.

Reply via email to