diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2011-01-29 16:27:02 +0200 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2011-01-29 16:27:02 +0200 |
commit | 13c986f650c1f165402b412a8bd2611f0f9f4f26 (patch) | |
tree | 83990442015f16f7825c7d21a260df37fa262149 | |
parent | removed bash completion for git-prompt (diff) | |
download | git-prompt-13c986f650c1f165402b412a8bd2611f0f9f4f26.tar.gz git-prompt-13c986f650c1f165402b412a8bd2611f0f9f4f26.tar.bz2 git-prompt-13c986f650c1f165402b412a8bd2611f0f9f4f26.zip |
BSD's hostname understands only "-s"
-rwxr-xr-x | git-prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prompt.sh b/git-prompt.sh index 021000f..341182b 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -284,7 +284,7 @@ set_shell_label() { #then host=${HOSTNAME} - #host=`hostname --short` + #host=`hostname -s` host=${host#$default_host} uphost=`echo ${host} | tr a-z A-Z` if [[ $upcase_hostname = "on" ]]; then |