added auto startx on tty1

This commit is contained in:
Afonso Franco 2023-05-05 21:46:32 +01:00
parent 62fd88bf34
commit 23758b67d5
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

View file

@ -2,6 +2,10 @@ if status is-interactive
# Commands to run in interactive sessions can go here
end
if status --is-login
[ "$(tty)" = "/dev/tty1" ] && exec startx -- -keeptty
end
fish_default_key_bindings
set -gx EDITOR nvim