mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-24 17:55:37 +00:00
30 lines
655 B
Plaintext
30 lines
655 B
Plaintext
# Don't print a new line at the start of the prompt
|
||
add_newline = false
|
||
prompt_order = ["directory", "custom.virtualenv", "character"]
|
||
|
||
# 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
|
||
|
||
[git_branch]
|
||
truncation_length = 1
|
||
truncation_symbol = ""
|
||
|
||
[git_status]
|
||
prefix = ""
|
||
suffix = ""
|
||
|
||
[python]
|
||
symbol = ""
|
||
|
||
[custom.virtualenv]
|
||
command = "echo (basename $VIRTUAL_ENV)" # shows output of command
|
||
prefix = "("
|
||
suffix = ") "
|
||
when = "true"
|