From edbb90eab6c2752e886af9ec01cfc889e449bdce Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Sun, 29 Mar 2020 14:18:34 -0700 Subject: Add an example for how to use the colored prompt. --- pgcli/pgclirc | 1 + 1 file changed, 1 insertion(+) diff --git a/pgcli/pgclirc b/pgcli/pgclirc index 13380280..220677dd 100644 --- a/pgcli/pgclirc +++ b/pgcli/pgclirc @@ -127,6 +127,7 @@ less_chatty = False # \n - Newline # \dsn_alias - name of dsn alias if -D option is used (empty otherwise) # \x1b[...m - insert ANSI escape sequence +# eg: prompt = '\x1b[35m\u@\x1b[32m\h:\x1b[36m\d>' prompt = '\u@\h:\d> ' # Number of lines to reserve for the suggestion menu -- cgit v1.2.3