summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 0a364b8..3a61957 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -41,7 +41,7 @@ autoload -U select-word-style
select-word-style bash
# Prompt
-if [[ -n $SSH_CLIENT ]]; then
+if [[ -n $SSH_CONNECTION ]]; then
PROMPT='%F{red}[%M]%f %0~ $ '
else
PROMPT='%0~ $ '