Hi all,

I'm using the following code to reflect the state of a local Git repo at
the prompt (mostly borrowed from Arch's wiki):

# fish git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstagedstate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch FF009A #F9FFB3 #FFFD96

# Status Chars
set __fish_git_prompt_char_dirtystate '⚡'
set __fish_git_prompt_char_stagedstate '→'
set __fish_git_prompt_char_stashstate '↩'
set __fish_git_prompt_char_upstream_ahead '↑'
set __fish_git_prompt_char_upstream_behind '↓'

function fish_prompt
set_color normal
set last_status $status
#printf (whoami)@(hostname)
set_color $fish_color_cwd
        printf '%s' (prompt_pwd)
set_color normal
printf '%s' (__fish_git_prompt)
set_color normal
printf '%s> '
set_color normal
end


Problem is that Fish seems to automatically add the symbol = to the prompt:
~/.dotfiles (master ⚡=)>

Is there any way to instruct Fish to not show it?

Cheers!
-Martín
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to