Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
You can do it in Bash as well. Put this in .inputrc:
"\e[A":history-substring-search-backward"\e[B":history-substring-search-forward# or, if you want to search only from the start of the command"\e[A": history-search-backward
"\e[B": history-search-forward
You can do it in Bash as well. Put this in
.inputrc
:"\e[A":history-substring-search-backward "\e[B":history-substring-search-forward # or, if you want to search only from the start of the command "\e[A": history-search-backward "\e[B": history-search-forward