summaryrefslogtreecommitdiff
path: root/themes/nebirhos.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-03-26 12:39:51 +0100
committerMarc Cornellà <marc.cornella@live.com>2020-03-26 12:39:51 +0100
commitd247f98d3edccfd12224cab077d36124849092ee (patch)
treef902d85f8fd8df7ce41923d88b4185794a684c1d /themes/nebirhos.zsh-theme
parent00f3fa2c40c707c84d3dc416a1e1db25d78fcfaf (diff)
downloadzsh-d247f98d3edccfd12224cab077d36124849092ee.tar.gz
zsh-d247f98d3edccfd12224cab077d36124849092ee.tar.bz2
zsh-d247f98d3edccfd12224cab077d36124849092ee.zip
nebirhos: use short hostname in prompt
Fixes #6050
Diffstat (limited to 'themes/nebirhos.zsh-theme')
-rw-r--r--themes/nebirhos.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/nebirhos.zsh-theme b/themes/nebirhos.zsh-theme
index e2424465a..fc05e7955 100644
--- a/themes/nebirhos.zsh-theme
+++ b/themes/nebirhos.zsh-theme
@@ -11,7 +11,7 @@ else
fi
# Get the host name (first 4 chars)
-HOST_PROMPT_="%{$fg_bold[red]%}@$HOST ➜ %{$fg_bold[cyan]%}%c "
+HOST_PROMPT_="%{$fg_bold[red]%}@%m ➜ %{$fg_bold[cyan]%}%c "
GIT_PROMPT="%{$fg_bold[blue]%}\$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}"
PROMPT="$HOST_PROMPT_$RUBY_PROMPT_$GIT_PROMPT"