summaryrefslogtreecommitdiff
path: root/devel/readline/files/patch-doc-readline.3
blob: 41a76b97d73c747661087a83241a23b2fe64e31b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% sed -i .orig 's|/etc/inputrc|%%PREFIX%%&|g' doc/readline.3 doc/readline.info doc/rluserman.info

--- doc/readline.3.orig	2025-02-03 15:12:54 UTC
+++ doc/readline.3
@@ -180,7 +180,7 @@ If that file  does not exist or cannot be read, \fBrea
 If that variable is unset, the default is
 .IR \*~/.inputrc .
 If that file  does not exist or cannot be read, \fBreadline\fP looks for
-.IR /etc/inputrc .
+.IR %%PREFIX%%/etc/inputrc .
 When a program that uses the \fBreadline\fP library starts up,
 \fBreadline\fP reads the initialization file
 and sets the key bindings and variables found there,
@@ -936,11 +936,11 @@ and key bindings from that file.
 .B $include
 This directive takes a single filename as an argument and reads commands
 and key bindings from that file.
-For example, the following directive would read \fI/etc/inputrc\fP:
+For example, the following directive would read \fI%%PREFIX%%/etc/inputrc\fP:
 .PP
 .RS
 .nf
-\fB$include\fP \^ \fI/etc/inputrc\fP
+\fB$include\fP \^ \fI%%PREFIX%%/etc/inputrc\fP
 .fi
 .RE
 .SH SEARCHING