2020-07-19 19:47:46 -04:00
|
|
|
|
# Don't print a new line at the start of the prompt
|
|
|
|
|
add_newline = false
|
2020-07-30 21:12:17 -04:00
|
|
|
|
prompt_order = ["directory", "custom.virtualenv", "character"]
|
2020-07-19 19:47:46 -04:00
|
|
|
|
|
|
|
|
|
# Replace the "❯" symbol in the prompt with "➜"
|
|
|
|
|
[character] # The name of the module we are configuring is "character"
|
|
|
|
|
# symbol = "➜" # The "symbol" segment is being set to "➜"
|
|
|
|
|
symbol = "❯"
|
|
|
|
|
|
|
|
|
|
[directory]
|
|
|
|
|
truncate_to_repo = true
|
|
|
|
|
truncation_length = 100
|
|
|
|
|
|
2020-07-26 16:15:21 -04:00
|
|
|
|
[git_branch]
|
|
|
|
|
truncation_length = 1
|
|
|
|
|
truncation_symbol = ""
|
|
|
|
|
|
2020-07-19 19:47:46 -04:00
|
|
|
|
[git_status]
|
|
|
|
|
prefix = ""
|
|
|
|
|
suffix = ""
|
2020-07-26 16:15:21 -04:00
|
|
|
|
|
|
|
|
|
[python]
|
|
|
|
|
symbol = ""
|
2020-07-30 21:12:17 -04:00
|
|
|
|
|
|
|
|
|
[custom.virtualenv]
|
|
|
|
|
command = "echo (basename $VIRTUAL_ENV)" # shows output of command
|
|
|
|
|
prefix = "("
|
|
|
|
|
suffix = ") "
|
|
|
|
|
when = "true"
|