Skip to content

Commit 9e23cd6

Browse files
committed
Improve readline psql prompt suggestion.
Andreas Seltenreich
1 parent 756d450 commit 9e23cd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ref/psql-ref.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.169 2006/09/16 00:30:19 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.170 2006/10/03 21:14:46 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -2491,7 +2491,7 @@ testdb=&gt; <userinput>\set content '''' `sed -e "s/'/''/g" -e 's/\\/\\\\/g' &lt
24912491
<literal>%]</literal>. Multiple pairs of these may occur within
24922492
the prompt. For example,
24932493
<programlisting>
2494-
testdb=&gt; \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%#%] '
2494+
testdb=&gt; \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# '
24952495
</programlisting>
24962496
results in a boldfaced (<literal>1;</literal>) yellow-on-black
24972497
(<literal>33;40</literal>) prompt on VT100-compatible, color-capable

0 commit comments

Comments
 (0)