summaryrefslogtreecommitdiff
path: root/git-prompt.sh
diff options
context:
space:
mode:
authorWes Oldenbeuving <narnach@gmail.com>2009-01-21 17:12:47 +0800
committerLeonid Volnitsky <leonid@volnitsky.com>2009-02-20 21:50:38 +0800
commitba79181c8c91dffcdda561025d119dd577faa20a (patch)
tree4b26d7ef8cb73df3894c714074a4938d8f04c082 /git-prompt.sh
parentfixed space-in-filename bug (again) (diff)
downloadgit-prompt-ba79181c8c91dffcdda561025d119dd577faa20a.tar.gz
git-prompt-ba79181c8c91dffcdda561025d119dd577faa20a.tar.bz2
git-prompt-ba79181c8c91dffcdda561025d119dd577faa20a.zip
Localdoman seems wrong, changed it to be $localdomain.
This is in style with most similar lines. Signed-off-by: Leonid Volnitsky <leonid@volnitsky.com>
Diffstat (limited to 'git-prompt.sh')
-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}