Add starship config for #fishshell
This commit is contained in:
@ -6,5 +6,4 @@ fzf_key_bindings
|
|||||||
set -gx EDITOR vi
|
set -gx EDITOR vi
|
||||||
set -gx XDG_RUNTIME_DIR /run/user/(id -u)
|
set -gx XDG_RUNTIME_DIR /run/user/(id -u)
|
||||||
eval (python -m virtualfish)
|
eval (python -m virtualfish)
|
||||||
|
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|||||||
47
fish/.config/starship.toml
Normal file
47
fish/.config/starship.toml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Don't print a new line at the start of the prompt
|
||||||
|
add_newline = false
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
ssh_only = false
|
||||||
|
disabled = false
|
||||||
|
style = "bold green"
|
||||||
|
|
||||||
|
[memory_usage]
|
||||||
|
show_percentage = true
|
||||||
|
show_swap = true
|
||||||
|
threshold = -1
|
||||||
|
symbol = " "
|
||||||
|
style = "bold dimmed green"
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = "🌱 "
|
||||||
|
truncation_length = 8
|
||||||
|
truncation_symbol = ""
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
conflicted = "🏳"
|
||||||
|
ahead = "🏎💨"
|
||||||
|
behind = "😰"
|
||||||
|
diverged = "😵"
|
||||||
|
untracked = "🤷"
|
||||||
|
stashed = "📦"
|
||||||
|
modified = "📝"
|
||||||
|
staged.value = "++"
|
||||||
|
staged.style = "green"
|
||||||
|
staged_count.enabled = true
|
||||||
|
staged_count.style = "green"
|
||||||
|
renamed = "👅"
|
||||||
|
deleted = "🗑"
|
||||||
|
|
||||||
|
[battery]
|
||||||
|
full_symbol = "🔋"
|
||||||
|
charging_symbol = "⚡️"
|
||||||
|
discharging_symbol = "💀"
|
||||||
|
|
||||||
|
[[battery.display]]
|
||||||
|
threshold = 10
|
||||||
|
style = "bold red"
|
||||||
|
|
||||||
|
[[battery.display]]
|
||||||
|
threshold = 40
|
||||||
|
style = "bold yellow"
|
||||||
Reference in New Issue
Block a user