From 284a88a8607cc7077aec376ca5f4b0c1b7e12c70 Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Tue, 11 Aug 2015 16:47:32 +0100 Subject: Provide a bash way to show remote commits --- prompt.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'prompt.sh') diff --git a/prompt.sh b/prompt.sh index a1ffbbd..4501575 100755 --- a/prompt.sh +++ b/prompt.sh @@ -1,5 +1,6 @@ -source ./git-base.sh +dot="$(cd "$(dirname "$0")"; pwd)" +source "$dot/git-base.sh" -prompt="$(branch_name)$(bash_color_local_commits)$(bash_color_changes_status)" +prompt="$(bash_color_remote_commits)$(branch_name)$(bash_color_local_commits)$(bash_color_changes_status)" echo $prompt -- cgit v1.2.3