mirror of
https://github.com/dbcli/pgcli.git
synced 2024-08-17 01:30:30 +03:00
Add an example for how to use the colored prompt. (#1163)
This commit is contained in:
parent
d444db412b
commit
2a28399c3f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user