mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
Space on the propper place
This commit is contained in:
parent
4dbe772048
commit
d4382943bc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user