mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
few tweaks
This commit is contained in:
parent
8c72e719c7
commit
20de4aa6f5
1 changed files with 3 additions and 3 deletions
|
|
@ -3,9 +3,9 @@ function git_branch() {
|
|||
|
||||
if [ "$branch" != "" ]; then
|
||||
if [ "$branch" = "master" ]; then
|
||||
echo "%{${FG[154]}%}[$branch]%{${reset_color}%}"
|
||||
echo "%{${FG[154]}%}($branch)%{${reset_color}%}"
|
||||
else
|
||||
echo "%{${FG[161]}%}[$branch]%{${reset_color}%}"
|
||||
echo "%{${FG[161]}%}($branch)%{${reset_color}%}"
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
|
|
@ -14,4 +14,4 @@ function git_branch() {
|
|||
|
||||
PROMPT='
|
||||
%c $(git_branch)
|
||||
%{${FG[237]}%}↳%{${reset_color}%} '
|
||||
%{${FG[237]}%}↪%{${reset_color}%} '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue