diff --git a/pure.zsh b/pure.zsh index d50b7d4..897c777 100644 --- a/pure.zsh +++ b/pure.zsh @@ -33,7 +33,7 @@ setopt prompt_subst # show username@host if logged in through SSH - if [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then + if [[ $SSH_CLIENT != '' || $SSH_TTY != '' ]]; then local username='%n@%m ' fi