Improve readline psql prompt suggestion.
authorBruce Momjian
Tue, 3 Oct 2006 21:14:46 +0000 (21:14 +0000)
committerBruce Momjian
Tue, 3 Oct 2006 21:14:46 +0000 (21:14 +0000)
Andreas Seltenreich

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

index 2d924b4fb5b78cc634be863ecc9f20dae0b1e306..15f5d7424e844539a1b4783c64c68a4a98eb2f02 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -2491,7 +2491,7 @@ testdb=> \set content '''' `sed -e "s/'/''/g" -e 's/\\/\\\\/g' <
          %]. Multiple pairs of these may occur within
          the prompt.  For example,
 
-testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%#%] '
+testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# '
 
          results in a boldfaced (1;) yellow-on-black
          (33;40) prompt on VT100-compatible, color-capable