From c03a462177bc2ec469a0cdb06234d08f35054966 Mon Sep 17 00:00:00 2001 From: Reinaldo Colina Date: Fri, 28 Aug 2015 20:23:06 -0700 Subject: Added change for issue-17 to prompt.zsh as well --- prompt.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'prompt.zsh') diff --git a/prompt.zsh b/prompt.zsh index cb1eb91..a5ccba5 100755 --- a/prompt.zsh +++ b/prompt.zsh @@ -1,12 +1,15 @@ #! /usr/bin/env zsh dot="$(cd "$(dirname "$0")"; pwd)" +args=$@ source "$dot/radar-base.sh" if is_repo; then autoload colors && colors printf '%s' "%{$fg_bold[black]%} git:(%{$reset_color%}" - zsh_color_remote_commits + if show_remote_status $args; then + zsh_color_remote_commits + fi readable_branch_name zsh_color_local_commits printf '%s' "%{$fg_bold[black]%})%{$reset_color%}" -- cgit v1.2.3