starship: error_symbol in character module seems not to work
Bug Report
Current Behavior
All features work well, but only the error_symbol seems not to work
Expected Behavior
A specified string in the configuration file should be shown when an issued command is failed
Additional context/Screenshots
Possible Solution
Environment
- Starship version: 0.58
- Shell type: zsh
- Shell version: zsh 5.4.2 (x86_64-ubuntu-linux-gnu)
- Shell plugin manager: oh-my-zsh
- Terminal emulator: GNOME Terminal 3.28.2
- Operating system: Ubuntu 18.04
Relevant Shell Configuration
# Your configuration here
Starship Configuration
[battery]
full_symbol = "๐"
charging_symbol = "๐"
discharging_symbol = "โก"
[[battery.display]]
threshold = 30
style = "bold red"
[character]
error_symbol = "[โ](bold red) "
[cmd_duration]
min_time = 2_000
format = " took [$duration]($style)"
[directory]
truncation_length = 5
format = "[$path](fg:#4285f4)[$lock_symbol]($lock_style) "
[git_branch]
format = " [$branch]($style) "
style = "fg:#EF7C8E"
[git_commit]
commit_hash_length = 8
style = "bold white"
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
[git_status]
conflicted = "โ๏ธ "
ahead = "๐๏ธ ๐จ ร${count }"
behind = "๐ขร${count} "
diverged = "๐ฑ ๐๏ธ ๐จ ร${ahead_count} ๐ข ร${behind_count}"
untracked = "๐พร${count} "
stashed = "๐ฆ "
modified = "๐ร${count} "
staged = "๐๏ธร${count} "
renamed = "๐ร${count} "
deleted = "๐๏ธร${count} "
style = "bright-white"
format = "$all_status$ahead_behind"
[hostname]
ssh_only = false
format = "<[$hostname]($style)>"
trim_at = "-"
style = "bold dimmed white"
disabled = true
[julia]
format = "[$symbol$version]($style) "
symbol = "เฎ "
style = "bold green"
disabled = true
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = false
[package]
disabled = true
[python]
format = "[$symbol$version]($style) "
style = "bold green"
symbol = "python "
[rust]
format = "[$symbol$version]($style) "
style = "bold green"
disabled = true
[nodejs]
format = "[$symbol$version](#F8D210) "
symbol = "nodejs_"
disabled = true
[golang]
format = "[$symbol$version](#B4F8C8) "
symbol = "golang_"
disabled = true
[vagrant]
disabled = true
[username]
style_user = "bold dimmed blue"
show_always = false
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (7 by maintainers)
@martinlindhe The bug youโre encountering was likely fixed in this commit, which should be available in the next release: https://github.com/starship/starship/commit/465e6fc4be64bf830d2c98bc3f56c2601acef775