add hostname to zsh prompt so i know where i am

This commit is contained in:
Em 2020-11-07 10:52:47 -05:00
parent df444d7da7
commit 2055b2ee89
1 changed files with 1 additions and 1 deletions

2
.zshrc
View File

@ -14,7 +14,7 @@ export LANG=en_US.UTF-8
export EDITOR='vim'
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}) %{%F{24}%}%(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}) %{%F{24}%}(%m) %(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=") "