diff options
Diffstat (limited to 'git-radar')
-rwxr-xr-x | git-radar | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# git-radar +# git-sonar # # A heads up display for git @@ -31,7 +31,7 @@ if [[ -z $@ ]]; then _ahead_master="\xF0\x9D\x98\xAE \033[1;32m←\033[0m" _local_diverged="\033[1;33m⇵\033[0m" _stash="\033[1;33m≡\033[0m" - echo "git-radar - a heads up display for git" + echo "git-sonar - a heads up display for git" echo "" echo "examples:" printf " $_git$_master$_endgit" @@ -57,7 +57,7 @@ if [[ -z $@ ]]; then echo "" echo "usage:" - echo " git-radar [--zsh|--bash|--fish] [--fetch]" + echo " git-sonar [--zsh|--bash|--fish] [--fetch]" echo "" echo " --fetch # Fetches your repo asynchronously in the background every 5 mins" echo " --zsh # Output prompt using Zsh style color characters" @@ -65,14 +65,14 @@ if [[ -z $@ ]]; then echo " --fish # Output prompt using fish style color characters" echo "" echo "Bash example:" - echo " export PS1=\"\\W\\\$(git-radar --bash --fetch) \"" + echo " export PS1=\"\\W\\\$(git-sonar --bash --fetch) \"" echo "" - echo " This will show your current directory and the full git-radar." + echo " This will show your current directory and the full git-sonar." echo " As an added benefit, if you are in a repo, it will asynchronously" echo " run \`git fetch\` every 5 mins, so that you are never out of date." echo "" echo "Zsh example:" - echo " export PROMPT=\"%1/%\\\$(git-radar --zsh --fetch) \"" + echo " export PROMPT=\"%1/%\\\$(git-sonar --zsh --fetch) \"" echo "" echo " Same as the Bash but for Zsh." echo "" @@ -80,7 +80,7 @@ if [[ -z $@ ]]; then echo " function fish_prompt" echo " set_color \$fish_color_cwd" echo " echo -n (prompt_pwd)" - echo " git-radar --fish -fetch" + echo " git-sonar --fish -fetch" echo " set_color normal" echo " echo -n ' > '" echo " end" |