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 f4bc46e..044252d 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -275,7 +275,7 @@ set_shell_label() { #then host=${HOSTNAME} #host=`hostname --short` - host=${host%$default_host} + host=${host#$default_host} uphost=`echo ${host} | tr a-z A-Z` if [[ $upcase_hostname = "on" ]]; then host=${uphost} |