|
|
|
@ -6,12 +6,12 @@ function prompt_char { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function get_nr_jobs() { |
|
|
|
function get_nr_jobs() { |
|
|
|
jobs | wc -l |
|
|
|
repeat $(jobs | wc -l) printf '▶' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~)$(git_prompt_info)$(git_commits_ahead)%_ $(prompt_char)%{$reset_color%} ' |
|
|
|
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~)$(git_prompt_info)$(git_commits_ahead)%_ $(prompt_char)%{$reset_color%} ' |
|
|
|
|
|
|
|
|
|
|
|
RPROMPT='%{$fg_bold[green]%}[$(get_nr_jobs)]%{$reset_color%}' |
|
|
|
RPROMPT='%{$fg_bold[green]%}$(get_nr_jobs)%{$reset_color%}' |
|
|
|
|
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{\033[0;36m%}·" |
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{\033[0;36m%}·" |
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[blue]%}" |
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[blue]%}" |
|
|
|
|