commit 9e161bd2fefe27d57d55e05b545dcba54664a5c7
parent 74019b9ffcc12b18e145cc436f13457294d36cbd
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Thu, 18 Jun 2020 21:06:05 -0400
Remove [[ from .profile
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.profile b/.profile
@@ -85,6 +85,6 @@ export LESS_TERMCAP_ue="$(printf '%b' '[0m')"; a="${a%_}"
export GROFF_NO_SGR=1
#For starting X on first login of a shell
-if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+if [ ! $DISPLAY ] && [ $XDG_VTNR -eq 1 ]; then
exec startx "$XDG_CONFIG_HOME/X11/xinitrc" # may requre '-- vt1'?
fi