zsh: replace zlogin with zprofile
This commit is contained in:
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
|
|
6
zsh/.zprofile
Executable file
6
zsh/.zprofile
Executable file
@ -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…
x
Reference in New Issue
Block a user