summaryrefslogtreecommitdiff
path: root/devdocs/bash/readline-init-file.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/bash/readline-init-file.html
new repository
Diffstat (limited to 'devdocs/bash/readline-init-file.html')
-rw-r--r--devdocs/bash/readline-init-file.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/bash/readline-init-file.html b/devdocs/bash/readline-init-file.html
new file mode 100644
index 00000000..5f32bfd5
--- /dev/null
+++ b/devdocs/bash/readline-init-file.html
@@ -0,0 +1,6 @@
+<h1 class="section">Readline Init File</h1> <p>Although the Readline library comes with a set of Emacs-like keybindings installed by default, it is possible to use a different set of keybindings. Any user can customize programs that use Readline by putting commands in an <em>inputrc</em> file, conventionally in their home directory. The name of this file is taken from the value of the shell variable <code>INPUTRC</code>. If that variable is unset, the default is <samp>~/.inputrc</samp>. If that file does not exist or cannot be read, the ultimate default is <samp>/etc/inputrc</samp>. The <code>bind</code> builtin command can also be used to set Readline keybindings and variables. See <a href="bash-builtins">Bash Builtin Commands</a>. </p> <p>When a program which uses the Readline library starts up, the init file is read, and the key bindings are set. </p> <p>In addition, the <code>C-x C-r</code> command re-reads this init file, thus incorporating any changes that you might have made to it. </p> <ul class="section-toc"> <li><a href="readline-init-file-syntax" accesskey="1">Readline Init File Syntax</a></li> <li><a href="conditional-init-constructs" accesskey="2">Conditional Init Constructs</a></li> <li><a href="sample-init-file" accesskey="3">Sample Init File</a></li> </ul><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>Licensed under the GNU Free Documentation License.<br>
+ <a href="https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File.html" class="_attribution-link">https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File.html</a>
+ </p>
+</div>