File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- dot=" $( cd " $( dirname " $0 " ) " ; pwd) "
3+ if [[ " $OSTYPE " == * darwin* ]]; then
4+ READLINK_CMD=' greadlink'
5+ else
6+ READLINK_CMD=' readlink'
7+ fi
8+
9+ dot=" $( cd " $( dirname " $( [ -L " $0 " ] && $READLINK_CMD -f " $0 " || echo " $0 " ) " ) " ; pwd) "
10+
411source $dot /radar-base.sh
512
613fetch;
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ #
3+ # git-radar
4+ #
5+ # A heads up display for git
26
3- dot=" $( cd " $( dirname " $0 " ) " ; pwd) "
7+ if [[ " $OSTYPE " == * darwin* ]]; then
8+ READLINK_CMD=' greadlink'
9+ else
10+ READLINK_CMD=' readlink'
11+ fi
12+
13+ dot=" $( cd " $( dirname " $( [ -L " $0 " ] && $READLINK_CMD -f " $0 " || echo " $0 " ) " ) " ; pwd) "
414
515if [[ -z $@ ]]; then
616 _git=" \033[1;30mgit:(\033[0m"
You can’t perform that action at this time.
0 commit comments