Commit 79982269 authored by hadret's avatar hadret

feat: new indicators for git states.

parent a681f651
function fish_right_prompt -d "Write out the right prompt"
# Defined in /var/folders/f0/pjwln8ld6zs7qdbxgxgb12r40000gn/T//fish.xFVMTP/fish_right_prompt.fish @ line 2
function fish_right_prompt --description 'Write out the right prompt'
set_color normal
set -g __fish_git_prompt_showdirtystate 1
set -g __fish_git_prompt_showcolorhints
set -g __fish_git_prompt_showstashstate 1
set -g __fish_git_prompt_showuntrackedfiles 1
set -g __fish_git_prompt_showupstream informative
# set -g __fish_git_prompt_show_informative_status
set -g __fish_git_prompt_color_branch brgreen
set -g __fish_git_prompt_color_dirtystate brmagenta
......@@ -13,6 +15,16 @@ function fish_right_prompt -d "Write out the right prompt"
set -g __fish_git_prompt_color_untrackedfiles brcyan
set -g __fish_git_prompt_color_prefix brblack
set -g __fish_git_prompt_color_suffix brblack
set -g __fish_git_prompt_char_upstream_ahead '⇡'
set -g __fish_git_prompt_char_upstream_behind '⇣'
set -g __fish_git_prompt_char_untrackedfiles '…'
set -g __fish_git_prompt_char_dirtystate '✚'
set -g __fish_git_prompt_char_stagedstate '●'
set -g __fish_git_prompt_char_invalidstate '✖'
set -g __fish_git_prompt_char_upstream_diverged '⇕'
# set -g __fish_git_prompt_char_stateseparator ' '
if set -q VIRTUAL_ENV
echo -n -s (set_color brblack) "(" (set_color magenta) (basename "$VIRTUAL_ENV") (set_color brblack) ")"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment