From 43efe86b47d344c2d32ee56d754c8e5fc80b326b Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 8 Nov 2019 23:56:47 -0500 Subject: [PATCH] Add starship config for #fishshell --- fish/.config/fish/config.fish | 1 - fish/.config/starship.toml | 47 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 fish/.config/starship.toml diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 500dc87..e67f8f2 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -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 diff --git a/fish/.config/starship.toml b/fish/.config/starship.toml new file mode 100644 index 0000000..baf39ce --- /dev/null +++ b/fish/.config/starship.toml @@ -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"