diff options
author | Wes Oldenbeuving <narnach@gmail.com> | 2009-01-21 17:12:47 +0800 |
---|---|---|
committer | Leonid Volnitsky <leonid@volnitsky.com> | 2009-02-20 21:50:38 +0800 |
commit | ba79181c8c91dffcdda561025d119dd577faa20a (patch) | |
tree | 4b26d7ef8cb73df3894c714074a4938d8f04c082 | |
parent | fixed space-in-filename bug (again) (diff) | |
download | git-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>
-rw-r--r-- | git-prompt.sh | 2 |
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} |