summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-08-11 12:05:25 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-08-11 12:05:25 +0100
commit4e7b4215cf4bd53cc433c83ab8eb84230ca34ae7 (patch)
tree9d754442ba2330f87b72f0a44d7b558293ca0594 /zsh/.zshrc
parent7b62c8e5fdbaadd4d377a3edf52870fc22909c28 (diff)
Fix bug with startx in ssh
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index f4c12f0..0a364b8 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,5 +1,5 @@
## startx automatically {{{
-[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
+[[ -z $DISPLAY && -z $SSH_CONNECTION && $XDG_VTNR -eq 1 ]] && exec startx
# }}}
## Bindings {{{
bindkey -v