From 4e7b4215cf4bd53cc433c83ab8eb84230ca34ae7 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 11 Aug 2018 12:05:25 +0100 Subject: Fix bug with startx in ssh --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh') 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 -- cgit v1.2.3