From 3fb1ec63aec9125bd7e724630f00865bfda7c5be Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 8 Mar 2024 18:52:04 -0500 Subject: [PATCH] [zsh] Add hostname when remote --- zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 93b0420..3eb5bb7 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -98,3 +98,7 @@ for f in ~/.dotfiles.sure/direnv/*.sh; do source $f; done eval "$(atuin init zsh)" export AWS_PROFILE=sure-inc + +local hostname="%{$fg_bold[white]%}%m" + +PROMPT="${hostname} ${PROMPT}"