From b6a2fa03c3d3c01681322b1e03da4976f70b7730 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Thu, 6 Jun 2024 01:22:27 +0200 Subject: [PATCH] Add hostname to zsh prompt --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 7938923..dc49a91 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -20,7 +20,7 @@ autoload -Uz vcs_info precmd() { vcs_info } zstyle ':vcs_info:git:*' formats '%b ' setopt PROMPT_SUBST -PROMPT='%F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ ' +PROMPT='%F{magenta}[%m] %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ ' source /usr/share/fzf/key-bindings.zsh