summaryrefslogtreecommitdiffstats
path: root/prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'prompt.sh')
-rwxr-xr-xprompt.sh5
1 files changed, 3 insertions, 2 deletions
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