summaryrefslogtreecommitdiffstats
path: root/git-radar
diff options
context:
space:
mode:
Diffstat (limited to 'git-radar')
-rwxr-xr-xgit-radar5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-radar b/git-radar
index a5cd3c1..67b8460 100755
--- a/git-radar
+++ b/git-radar
@@ -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