|
|
|
|
|
by danwills
451 days ago
|
|
It is possible to change the history length in most shells including bash, when I googled it I found this baeldung.com article which says it can be set to unlimited using this (or use a big number if you'd prefer!): export HISTSIZE=-1; export HISTFILESIZE=-1 Also, one can bind the 'up' key to do the search action too, which I think is pretty convenient, my bindings are for zsh but I think it should also work in bash: bindkey '^[[5~' up-line-or-history bindkey '^[[6~' down-line-or-history |
|