summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-08-11 15:27:32 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-08-11 15:27:32 +0100
commit48f25f5db532059be55469da89fcfaa068a0e2d5 (patch)
tree4d4f91637af72713a7ac00bbc131b1e2a9043cb1
parent4e7b4215cf4bd53cc433c83ab8eb84230ca34ae7 (diff)
Make sure ssh is detected in tmux
-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~ $ '