updating prompt color
This commit is contained in:
@@ -43,9 +43,9 @@ git_prompt_info() {
|
|||||||
needs_push() {
|
needs_push() {
|
||||||
if [[ $(git cherry -v @{upstream} 2>/dev/null) == "" ]]
|
if [[ $(git cherry -v @{upstream} 2>/dev/null) == "" ]]
|
||||||
then
|
then
|
||||||
echo " "
|
echo ""
|
||||||
else
|
else
|
||||||
echo " %{$fg_bold[magenta]%}☁%{$reset_color%} "
|
echo "%{$fg_bold[magenta]%}☁%{$reset_color%} "
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ suspended_jobs() {
|
|||||||
|
|
||||||
precmd() {
|
precmd() {
|
||||||
vcs_info
|
vcs_info
|
||||||
print -P '\n%F{blue}%~ `git_dirty`%F{236}$vcs_info_msg_0_%f'
|
print -P '\n%F{013}%~ `git_dirty`%F{236}$vcs_info_msg_0_%f `needs_push`'
|
||||||
}
|
}
|
||||||
|
|
||||||
export PROMPT='%(?.%F{magenta}.%F{red})❯%f '
|
export PROMPT='%(?.%F{magenta}.%F{red})❯%f '
|
||||||
|
|||||||
Reference in New Issue
Block a user