summaryrefslogtreecommitdiffstats
path: root/git-radar
diff options
context:
space:
mode:
Diffstat (limited to 'git-radar')
-rwxr-xr-xgit-radar32
1 files changed, 16 insertions, 16 deletions
diff --git a/git-radar b/git-radar
index f194557..20a15c1 100755
--- a/git-radar
+++ b/git-radar
@@ -13,22 +13,22 @@ fi
dot="$(cd "$(dirname "$([ -L "$0" ] && $READLINK_CMD -f "$0" || echo "$0")")"; pwd)"
if [[ -z $@ ]]; then
- _git="\033[1;30mgit:(\033[0m"
- _master="\033[0;37mmaster\033[0m"
- _my_branch="\033[0;37mmy-branch\033[0m"
- _endgit="\033[1;30m)\033[0m"
- _untracked="\033[1;37mA\033[0m"
- _added_staged="\033[1;32mA\033[0m"
- _modified_unstaged="\033[1;31mM\033[0m"
- _local_up="\033[1;32m↑\033[0m"
- _2_from_master="\xF0\x9D\x98\xAE 2 \033[1;31m→\033[0m "
- _diverged_from_master="\xF0\x9D\x98\xAE 2 \033[1;33m⇄\033[0m 3 "
- _not_upstream="upstream \033[1;31m⚡\033[0m "
- _detached="\033[0;37mdetached@94eac67\033[0m"
- _conflicted_us="\033[1;33mU\033[0m"
- _conflicted_them="\033[1;33mT\033[0m"
- _ahead_master="\xF0\x9D\x98\xAE \033[1;32m←\033[0m"
- _local_diverged="\033[1;33m⇵\033[0m"
+ _git="\[\033[1;30m\]git:(\[\033[0m\]"
+ _master="\[\033[0;37m\]master\[\033[0m\]"
+ _my_branch="\[\033[0;37m\]my-branch\[\033[0m\]"
+ _endgit="\[\033[1;30m\])\[\033[0m\]"
+ _untracked="\[\033[1;37m\]A\[\033[0m\]"
+ _added_staged="\[\033[1;32m\]A\[\033[0m\]"
+ _modified_unstaged="\[\033[1;31m\]M\[\033[0m\]"
+ _local_up="\[\033[1;32m\]↑\[\033[0m\]"
+ _2_from_master="\xF0\x9D\x98\xAE 2 \[\033[1;31m\]→\[\033[0m\] "
+ _diverged_from_master="\xF0\x9D\x98\xAE 2 \[\033[1;33m\]⇄\[\033[0m\] 3 "
+ _not_upstream="upstream \[\033[1;31m\]⚡\[\033[0m\] "
+ _detached="\[\033[0;37m\]detached@94eac67\[\033[0m\]"
+ _conflicted_us="\[\033[1;33m\]U\[\033[0m\]"
+ _conflicted_them="\[\033[1;33m\]T\[\033[0m\]"
+ _ahead_master="\xF0\x9D\x98\xAE \[\033[1;32m\]←\[\033[0m\]"
+ _local_diverged="\[\033[1;33m\]⇵\[\033[0m\]"
echo "git-radar - a heads up display for git"
echo ""
echo "examples:"