Add starship config for #fishshell

This commit is contained in:
Colin Powell
2019-11-08 23:56:47 -05:00
parent 16d165f5a9
commit 43efe86b47
2 changed files with 47 additions and 1 deletions

View File

@ -6,5 +6,4 @@ fzf_key_bindings
set -gx EDITOR vi
set -gx XDG_RUNTIME_DIR /run/user/(id -u)
eval (python -m virtualfish)
starship init fish | source

View 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"