summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 699d15f..9866d04 100644
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -212,7 +212,7 @@ set_shell_title() {
host_color=${!host_color}
# we already should have short host name, but just in case
- host=${host%.localdoman}
+ host=${host%.$localdomain}
host=${host%.$default_domain}