Space on the propper place

This commit is contained in:
Felipe Rodrigues de Almeida 2014-04-04 23:51:47 -03:00 committed by Bruno Pinto
parent 4dbe772048
commit d4382943bc

View File

@ -46,15 +46,15 @@ function fish_prompt
set -l git_vs_upstream (_git_up_info) set -l git_vs_upstream (_git_up_info)
if [ (_is_git_dirty) ] if [ (_is_git_dirty) ]
set git_info $yellow '('$git_branch "±" "$git_vs_upstream"')' $normal set git_info $yellow'('$git_branch "±" "$git_vs_upstream"')' $normal
else if [ (_git_up_info) ] else if [ (_git_up_info) ]
set git_info $yellow '('$git_branch "$git_vs_upstream"')' $normal set git_info $yellow'('$git_branch "$git_vs_upstream"')' $normal
else else
set git_info $green '('$git_branch')' $normal set git_info $green'('$git_branch')' $normal
end end
end end
echo -n -s $cwd "$git_info" $normal $arrow ' ' echo -n -s $cwd' '"$git_info" $normal $arrow ' '
end end
function fish_right_prompt function fish_right_prompt