mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-28 03:09:31 +08:00
beloglazov theme: removed the "git:" prefix from the branch name to make the prompt shorter
This commit is contained in:
parent
7059648b75
commit
79d6869a62
|
@ -39,7 +39,7 @@ function fish_prompt
|
||||||
|
|
||||||
if [ (_git_branch_name) ]
|
if [ (_git_branch_name) ]
|
||||||
set -l git_branch $brightred(_git_branch_name)$normal
|
set -l git_branch $brightred(_git_branch_name)$normal
|
||||||
set git_info "$blue git:($git_branch$blue)$normal"
|
set git_info "$blue ($git_branch$blue)$normal"
|
||||||
set -l git_ahead_count (_git_ahead_count)
|
set -l git_ahead_count (_git_ahead_count)
|
||||||
|
|
||||||
if [ $git_ahead_count != 0 ]
|
if [ $git_ahead_count != 0 ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user