From 7dc82789b359f6962c9995c6dc4ca18fbd2b264e Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Thu, 1 Aug 2013 10:30:41 +0200 Subject: [PATCH] Stibbons theme: lines +/- best at left position Signed-off-by: Gaetan Semet --- themes/stibbons.zsh-theme | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/stibbons.zsh-theme b/themes/stibbons.zsh-theme index dc5ee48ff..9db2674c7 100644 --- a/themes/stibbons.zsh-theme +++ b/themes/stibbons.zsh-theme @@ -9,8 +9,9 @@ git_custom_status() { local cb=$(current_branch) if [ -n "$cb" ]; then R="$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX$(git_prompt_rebase_state)" - if [ ! -z $(git_changes_info) ]; then - R="$R $(git_changes_info)" + CI=$(git_changes_info) + if [ ! -z $CI ]; then + R="$CI $R" fi echo $R fi