diff options
author | Michael Allen <michael@michaelallen.io> | 2015-08-11 16:47:32 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-08-11 16:47:32 +0100 |
commit | 284a88a8607cc7077aec376ca5f4b0c1b7e12c70 (patch) | |
tree | 237150deb61f42fb6cc676353794add5072da176 /prompt.sh | |
parent | 1f3b218b5cf79a414344b465cbb75af726721649 (diff) | |
download | git-sonar-284a88a8607cc7077aec376ca5f4b0c1b7e12c70.tar.gz git-sonar-284a88a8607cc7077aec376ca5f4b0c1b7e12c70.zip |
Provide a bash way to show remote commits
Diffstat (limited to 'prompt.sh')
-rwxr-xr-x | prompt.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |