Created
October 17, 2013 21:28
-
-
Save vmirly/7032491 to your computer and use it in GitHub Desktop.
/etc/inputrc command completion from history by pressing Pageup, PageDown, and arroe keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $if Bash | |
| # Search history back and forward using page-up and page-down | |
| "\e[5~": history-search-backward | |
| "\e[6~": history-search-forward | |
| ## arrow up | |
| "\e[A":history-search-backward | |
| ## arrow down | |
| "\e[B":history-search-forward | |
| # Completion | |
| set match-hidden-files off | |
| set page-completions off | |
| set completion-query-items 350 | |
| set show-all-if-ambiguous on | |
| $endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment