summaryrefslogtreecommitdiffstats
path: root/prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xprompt.sh20
1 files changed, 1 insertions, 19 deletions
diff --git a/prompt.sh b/prompt.sh
index 056a74f..a1ffbbd 100755
--- a/prompt.sh
+++ b/prompt.sh
@@ -1,23 +1,5 @@
source ./git-base.sh
-local_ahead="$(commits_ahead_of_remote)"
-ahead_arrow="↑"
-
-if [[ ("$local_ahead" -gt 0) ]]; then
- local_ahead=" ${local_ahead}${ahead_arrow}"
-else
- local_ahead=""
-fi
-
-local_behind="$(commits_behind_of_remote)"
-behind_arrow="↓"
-
-if [[ "$local_behind" -gt "0" ]]; then
- local_behind=" ${local_behind}${behind_arrow}"
-else
- local_behind=""
-fi
-
-prompt="$(branch_name) $(bash_color_local_commits) $(bash_color_changes_status)"
+prompt="$(branch_name)$(bash_color_local_commits)$(bash_color_changes_status)"
echo $prompt