From e4a96f8e4812d72a66b666d2b8dda2d6c617285b Mon Sep 17 00:00:00 2001 From: Daniel YC Lin Date: Sun, 18 Aug 2013 18:52:13 +0800 Subject: [PATCH] fixed bug of PS1 p_ret code --- themes/dlintw.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/dlintw.zsh-theme b/themes/dlintw.zsh-theme index b387e7d98..8f02627c5 100644 --- a/themes/dlintw.zsh-theme +++ b/themes/dlintw.zsh-theme @@ -16,7 +16,7 @@ p_chroot="${debian_chroot:+[$debian_chroot]}" p_time="%K{black}%B%F{yellow}%D{%H:%M:%S}%k" p_ret="%(0?.. %F{red}%? )" 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 zstyle ':vcs_info:*' enable fossil hg svn git cvs # p4 off, but must be last.