mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
pwd prompt in tiny theme is actually cyan now
also fixed some issues with spacing that came up.
This commit is contained in:
parent
bb59f4ece0
commit
76aa2ecfe8
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ function collapse_pwd {
|
|||
function prompt_character {
|
||||
# if you're in a git branch, the prompt character is '±'
|
||||
# (this is handled by git_colors)
|
||||
git branch >> /dev/null 2>> /dev/null && echo "%{$fg[`git_colors`]%}±%{$reset_color%}" && return
|
||||
git branch >> /dev/null 2>> /dev/null && echo "%{$fg[`git_colors`]%} ±%{$reset_color%}" && return
|
||||
}
|
||||
|
||||
function git_colors {
|
||||
|
|
@ -34,4 +34,4 @@ function git_branch {
|
|||
fi
|
||||
}
|
||||
|
||||
PROMPT='$(collapse_pwd) %{$fg[cyan]%}$(git_branch)%{$reset_color%}$(prompt_character) » '
|
||||
PROMPT='%{$fg[cyan]%}$(collapse_pwd)$(git_branch)%{$reset_color%}$(prompt_character) » '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue