mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
fixed bug of PS1 p_ret code
This commit is contained in:
parent
97fe028356
commit
697a60bd03
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ p_chroot="${debian_chroot:+[$debian_chroot]}"
|
||||||
p_time="%K{black}%B%F{yellow}%D{%H:%M:%S}%k"
|
p_time="%K{black}%B%F{yellow}%D{%H:%M:%S}%k"
|
||||||
p_ret="%(0?.. %F{red}%? )"
|
p_ret="%(0?.. %F{red}%? )"
|
||||||
p_ps="%B%F{blue}%(#.#.$)%b "
|
p_ps="%B%F{blue}%(#.#.$)%b "
|
||||||
PROMPT="$p_chroot$p_time$ret$p_ps%{$reset_color%}"
|
PROMPT="$p_chroot$p_time$p_ret$p_ps%{$reset_color%}"
|
||||||
|
|
||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
zstyle ':vcs_info:*' enable fossil hg svn git cvs # p4 off, but must be last.
|
zstyle ':vcs_info:*' enable fossil hg svn git cvs # p4 off, but must be last.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue