zsh: replace zlogin with zprofile
parent
454a1ef236
commit
0a0fccd937
|
@ -1,5 +0,0 @@
|
||||||
emulate sh -c 'source /etc/profile'
|
|
||||||
|
|
||||||
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && "$(tty)" = "/dev/tty1" ]]; then
|
|
||||||
exec startx
|
|
||||||
fi
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
emulate sh -c 'source /etc/profile'
|
||||||
|
|
||||||
|
# if systemctl -q is-active graphical.target && [[ ! $DISPLAY && "$(tty)" = "/dev/tty1" ]]; then
|
||||||
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
|
exec startx
|
||||||
|
fi
|
Loading…
Reference in New Issue