zsh: add hostname to prompt

This commit is contained in:
Daniel Lundin 2020-03-08 15:03:13 +01:00
parent 1abeb05489
commit 19d896484b
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC

2
.zshrc
View file

@ -187,7 +187,7 @@ export PROMPT_LEAN_COLOR1=78
export PROMPT_LEAN_COLOR2=67
local ret_status="%(?:%B%F{#607D8B]}%%:%B%F{#F4511E}%%)"
PROMPT='%F{#78909C}%}$(short_pwd)%f$(git_prompt_info)%f${ret_status}%f%b '
PROMPT='%F{#455A64}${HOST}:%F{#78909C}%}$(short_pwd)%f$(git_prompt_info)%f${ret_status}%f%b '
ZSH_THEME_GIT_PROMPT_PREFIX=" %F{#795548}⟨%F{#8D6E63}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%F{#795548}⟩%f"