diff options
-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 c908c62..cac1897 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -306,7 +306,7 @@ set_shell_label() { fi fi host=${host#$default_host} - uphost=`echo ${host} | tr a-z A-Z` + uphost=`echo ${host} | tr a-z-. A-Z_` if [[ $upcase_hostname = "on" ]]; then host=${uphost} fi |