From 8810c52e2e94c1ce26ec0bc5dbd4ec1853d14c41 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Fri, 4 Jan 2013 01:28:59 -0600 Subject: [PATCH] .inputrc: Add some helper reminds in comments at top Add some tips about how to use the 'bind' built-in to view the current readline config and where to look for additional detail documentation on all these readline bindings. --- .inputrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.inputrc b/.inputrc index 5c078bd..9bfb558 100644 --- a/.inputrc +++ b/.inputrc @@ -2,8 +2,13 @@ # programs that use the GNU Readline library. Existing # programs include FTP, Bash, and GDB. # -# You can re-read the inputrc file with C-x C-r. -# Lines beginning with '#' are comments. +# See 'man bash' >> READLINE for documentation on all the readline options and commands. +# You can use 'bind' (bash built-in command) to view current readline config: +# bind -p ... Display readline function names and bindings in such a way that they can be re-read. +# bind -P ... List current readline function names and bindings. +# bind -V ... List current readline variable names and values. +# (See 'man bash' >> SHELL BUILTIN COMMANDS for additional details...) +# You can re-read the inputrc file with C-x C-r (re-read-init-file). set bell-style visible set expand-tilde off -- 2.45.2