From b7424c996537d398ba5dc7daf921a553565469b8 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sat, 11 Jul 2026 17:03:50 -0400 Subject: [PATCH] feat(zsh): add user and hostname to prompt --- zsh/dot-zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index 9da5c05..26fd456 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -52,13 +52,13 @@ function set_prompt { branch="$(git branch --show-current 2>/dev/null)" if [[ "$PWD" == "$HOME" ]]; then - PROMPT="%F{magenta}%~%f $prompt_char " + PROMPT="%F{magenta}%~%f %n@%m $prompt_char " elif [[ "$branch" != '' ]]; then PROMPT="%F{magenta}%~%f ($branch) -$prompt_char " +%n@%m $prompt_char " else PROMPT="%F{magenta}%~%f -$prompt_char " +%n@%m $prompt_char " fi } autoload -Uz add-zsh-hook