ports/devel/readline/files/patch-doc-rluserman.info
Po-Chuan Hsieh ac770530c4
devel/readline: Update documentation for inputrc path
- It is a followup of r560241 (2e6fe3dbbc) and r560398 (cdbdbb820f)

PR:		255125
Reported by:	Olivier Certner <olivier.freebsd@free.fr>
2021-05-12 05:47:33 +08:00

22 lines
1 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- doc/rluserman.info.orig 2020-10-30 14:07:52 UTC
+++ doc/rluserman.info
@@ -311,7 +311,7 @@ putting commands in an "inputrc" file, conventionally
directory. The name of this file is taken from the value of the
environment variable 'INPUTRC'. If that variable is unset, the default
is '~/.inputrc'. If that file does not exist or cannot be read, the
-ultimate default is '/etc/inputrc'.
+ultimate default is '%%PREFIX%%/etc/inputrc'.
When a program which uses the Readline library starts up, the init
file is read, and the key bindings are set.
@@ -851,8 +851,8 @@ four parser directives used.
'$include'
This directive takes a single filename as an argument and reads
commands and bindings from that file. For example, the following
- directive reads from '/etc/inputrc':
- $include /etc/inputrc
+ directive reads from '%%PREFIX%%/etc/inputrc':
+ $include %%PREFIX%%/etc/inputrc

File: rluserman.info, Node: Sample Init File, Prev: Conditional Init Constructs, Up: Readline Init File