summaryrefslogtreecommitdiff
path: root/config.fish
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-08-03 19:05:05 +0000
committerache <ache@ache.one>2017-08-03 19:05:05 +0000
commitb108c4cdb5ddbdb5cd29726fb8547b96565395ba (patch)
treeeec918d8c7542014683b9f7216118f1203033604 /config.fish
parentInit config (diff)
Fix start X condition
Diffstat (limited to 'config.fish')
-rw-r--r--config.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.fish b/config.fish
index 4bce04a..507747d 100644
--- a/config.fish
+++ b/config.fish
@@ -1,3 +1,3 @@
-[ -z $DISPLAY ] ; and [ $XDG_VTNR -eq 1 ] ; and exec startx
+[ -z "$DISPLAY" ] ; and [ "$XDG_VTNR" = "1" ] ; and exec startx
# alias gobjc='gcc -L /usr/lib/GNUstep/Libraries/gnustep-base -lgnustep-base -fconstant-string-class=NSConstantString'
# alias smpd='ssh achessh@ache.one -fp 21 ssh ache@localhost -p 60065 -L 8091:localhost:8091 -fN'