From e1dc8a384a606a45aa4d752890e7087172246973 Mon Sep 17 00:00:00 2001 From: Erin Date: Fri, 20 May 2022 11:33:49 -0400 Subject: [PATCH] Make remote names in zsh prompt a different color --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 99bca78..3979466 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -65,7 +65,7 @@ function parse_git_branch { } # Set the main prompt to show hostname if connected remotely + git branch -export PROMPT="%B$([ -n "$is_remote" ] && echo "%F{blue}%m%f ")%F{cyan}%n%f %F{blue}%~%f%b\$(parse_git_branch) %B%#%b " +export PROMPT="%B$([ -n "$is_remote" ] && echo "%F{magenta}%m%f ")%F{cyan}%n%f %F{blue}%~%f%b\$(parse_git_branch) %B%#%b " # Hook preexec/precmd to dynamically set rprompt with useful info function preexec {