Search on history using inputrc

This commit is contained in:
Gerardo J. Puerta
2022-09-07 09:33:01 -05:00
parent d948b4a4d1
commit 01c6c74357
3 changed files with 24 additions and 7 deletions

View File

@ -1,2 +1,5 @@
set bell-style none
# map "page up" and "page down" to search history based on current cmdline
"\e[5~": history-search-backward
"\e[6~": history-search-forward