d247f98d3edccfd12224cab077d36124849092ee
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
nebirhos: use short hostname in prompt
Fixes #6050
Diff
1diff --git a/themes/nebirhos.zsh-theme b/themes/nebirhos.zsh-theme
2index e2424465a88c6c3fced1aa0df6aa5518d6c4867d..fc05e79557927a4a383f3cce87c1852e0887a4fe 100644
3--- a/themes/nebirhos.zsh-theme
4+++ b/themes/nebirhos.zsh-theme
5@@ -11,7 +11,7 @@ else
6 fi
7
8 # Get the host name (first 4 chars)
9-HOST_PROMPT_="%{$fg_bold[red]%}@$HOST ➜ %{$fg_bold[cyan]%}%c "
10+HOST_PROMPT_="%{$fg_bold[red]%}@%m ➜ %{$fg_bold[cyan]%}%c "
11 GIT_PROMPT="%{$fg_bold[blue]%}\$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}"
12 PROMPT="$HOST_PROMPT_$RUBY_PROMPT_$GIT_PROMPT"
13