From 81229e3088646bbc2ff356d3190b3786c460e267 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Mon, 19 Dec 2022 23:00:22 -0800 Subject: [PATCH] Add hostname to zsh prompt --- zsh/.config/zsh/prompt.zsh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/zsh/.config/zsh/prompt.zsh b/zsh/.config/zsh/prompt.zsh index 9349f4f..a8e3133 100644 --- a/zsh/.config/zsh/prompt.zsh +++ b/zsh/.config/zsh/prompt.zsh @@ -29,7 +29,16 @@ precmd() { vcs_info } +# ----- Left Prompts ----- +# @ > #PS1='%F{blue}%n%f@%m %F{green}%3~%f > ' +# > +#PS1='%F{green}%3~%f %F{blue}>%f ' +# > +PS1='%F{green}%3~%f %F{yellow}%m%f %F{blue}>%f ' + +# ----- Right Prompts ----- +# Git and vim mode info #RPS1='%F{green}${vim_mode}%f ${vcs_info_msg_0_} [%F{red}%?%f]' -PS1='%F{green}%3~%f %F{blue}>%f ' +# Git info only RPS1='${vcs_info_msg_0_} [%F{red}%?%f]'