Commit d247f98d authored by Marc Cornellà's avatar Marc Cornellà
Browse files

nebirhos: use short hostname in prompt

Fixes #6050
parent 00f3fa2c
...@@ -11,7 +11,7 @@ else ...@@ -11,7 +11,7 @@ else
fi fi
# Get the host name (first 4 chars) # 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%}" GIT_PROMPT="%{$fg_bold[blue]%}\$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}"
PROMPT="$HOST_PROMPT_$RUBY_PROMPT_$GIT_PROMPT" PROMPT="$HOST_PROMPT_$RUBY_PROMPT_$GIT_PROMPT"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment