summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Frank <justinpfrank@protonmail.com>2019-03-27 10:17:37 -0700
committerJustin Frank <justinpfrank@protonmail.com>2019-04-08 17:08:35 -0700
commit887a5223ac8e71ca6d7f0cd9c764d68ce3d90dbe (patch)
tree13ef2be4d3eff776cccb620b612f56459ef47240
parent891c6ca8e2b28942f1aeb0cfe553fb052a420024 (diff)
Fixed if statement in x11 detection
-rw-r--r--rc/windowing/x11.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/windowing/x11.kak b/rc/windowing/x11.kak
index 0bf457b0..004b0b0a 100644
--- a/rc/windowing/x11.kak
+++ b/rc/windowing/x11.kak
@@ -1,7 +1,7 @@
# x11
hook global KakBegin .* %sh{
- if [ -n "$DISPLAY" && [ -z "$TMUX" ]; then
+ if [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
echo "require-module x11"
fi
}