mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
upgrade all themes to use vcs_prompt_info
This commit is contained in:
parent
538801a4db
commit
30573eed3f
42 changed files with 44 additions and 44 deletions
|
|
@ -2,7 +2,7 @@ if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
|||
|
||||
PROMPT='
|
||||
%{$fg[$NCOLOR]%}%B%n@%m%b%{$reset_color%} %{$fg[white]%}%B${PWD/#$HOME/~}%b%{$reset_color%}
|
||||
$(git_prompt_info)%(!.#.$) '
|
||||
$(vcs_prompt_info)%(!.#.$) '
|
||||
RPROMPT='[%*]'
|
||||
|
||||
# git theming
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue