From 48f25f5db532059be55469da89fcfaa068a0e2d5 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 11 Aug 2018 15:27:32 +0100 Subject: Make sure ssh is detected in tmux --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh/.zshrc') 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~ $ ' -- cgit v1.2.3