Skip to content

Commit 65a5c24

Browse files
committed
Parameter expansion in _agkozak_is_ssh()
1 parent 69cc717 commit 65a5c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agkozak-zsh-theme.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ setopt PROMPT_SUBST NO_PROMPT_BANG
6868
# her username and hostname in inverse video.
6969
############################################################
7070
_agkozak_is_ssh() {
71-
[[ -n "${SSH_CONNECTION-}${SSH_CLIENT}${SSH_TTY}" ]]
71+
[[ -n "${SSH_CONNECTION-}${SSH_CLIENT-}${SSH_TTY-}" ]]
7272
}
7373

7474
############################################################

0 commit comments

Comments
 (0)