Start X if logging in on tty1
This commit is contained in:
parent
bb91dec56c
commit
26c642760a
2 changed files with 5 additions and 0 deletions
4
zprofile
4
zprofile
|
@ -29,3 +29,7 @@ umask 022
|
|||
shopts=$-
|
||||
set -$shopts
|
||||
unset sh shopts
|
||||
|
||||
if [[ $TTY == /dev/tty1 ]]; then
|
||||
exec startx :1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue