adding hostname to zsh prompt

This commit is contained in:
Andrew Davidson 2019-06-01 10:47:13 -04:00
parent f81e430c73
commit 4c5b049c44

View file

@ -33,4 +33,4 @@ function current_pwd {
echo $(pwd | sed -e "s,^$HOME,~,")
}
PROMPT='${PR_BOLD_YELLOW}$(truncated_pwd 3)$(git_branch)%{$reset_color%}$(git_unstaged)$(git_is_ahead)$(git_is_behind) %(?.%F{magenta}.%F{red})%f '
PROMPT='%m ${PR_BOLD_YELLOW}$(truncated_pwd 3)$(git_branch)%{$reset_color%}$(git_unstaged)$(git_is_ahead)$(git_is_behind) %(?.%F{magenta}.%F{red})%f '