diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2020-03-29 18:32:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 09:32:00 +0800 |
commit | 2a28399c3f077209e5c8728fa6e7f4b13a06f990 (patch) | |
tree | 330aa21a869a0f49c2ae45022e9e70da600f0c7d | |
parent | d444db412bf3d9e1f5920319c844fd484786226e (diff) |
Add an example for how to use the colored prompt. (#1163)
-rw-r--r-- | pgcli/pgclirc | 1 |
1 files changed, 1 insertions, 0 deletions
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 |