diff options
author | Reinaldo Colina <rcolina@pingidentity.com> | 2015-08-27 12:14:13 -0700 |
---|---|---|
committer | Reinaldo Colina <rcolina@pingidentity.com> | 2015-08-27 12:14:13 -0700 |
commit | 637b5d5534469ebb15826139e1b3df12a1cc9309 (patch) | |
tree | ceb0d013f13603998946e43795fa4b8408e4af6e /git-radar | |
parent | fd2c201c69ebfd077d6f7be5d09bcdbb147acc59 (diff) | |
download | git-sonar-637b5d5534469ebb15826139e1b3df12a1cc9309.tar.gz git-sonar-637b5d5534469ebb15826139e1b3df12a1cc9309.zip |
issue-17: Add arguments to make the prompt shorter
Diffstat (limited to 'git-radar')
-rwxr-xr-x | git-radar | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -11,6 +11,7 @@ else fi dot="$(cd "$(dirname "$([ -L "$0" ] && $READLINK_CMD -f "$0" || echo "$0")")"; pwd)" +args=$@ if [[ -z $@ ]]; then _git="\033[1;30mgit:(\033[0m" @@ -92,9 +93,9 @@ while [[ $# > 0 ]];do nohup $dot/fetch.sh >/dev/null 2>&1 & fi if [[ "$command" == "--zsh" ]]; then - $dot/prompt.zsh + $dot/prompt.zsh $args fi if [[ "$command" == "--bash" || "$command" == "--fish" ]]; then - $dot/prompt.bash + $dot/prompt.bash $args fi done |