From 09bd5b29a6d597122d14304f0689f33c4d4ee31d Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Fri, 27 Nov 2015 01:25:03 -0600 Subject: [PATCH] Update zsh prompt config. --- zsh/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 5a4d249..05add55 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -162,5 +162,5 @@ zstyle ':vcs_info:*' actionformats "%a $branch" zstyle ':vcs_info:*' stagedstr "%{$fg[blue]%}S" zstyle ':vcs_info:*' unstagedstr "%{$fg[blue]%}M" zstyle ':vcs_info:git*+set-message:*' hooks git-untracked git-st -PROMPT="$userat:$pwd$userchar " -RPROMPT='${vcs_info_msg_0_}' +PROMPT="%(!.#.$) " # $ as a user # as root +RPROMPT='${vcs_info_msg_0_} ${PWD/#$HOME/~}'