diff --git a/.config/zsh/.zlogin b/.config/zsh/.zlogin new file mode 100644 index 0000000..3ecebbe --- /dev/null +++ b/.config/zsh/.zlogin @@ -0,0 +1,3 @@ +XORG_USER='rick' + +[ "$USER" = "$XORG_USER" ] && [ "$(tty)" = "/dev/tty1" ] && exec xinit -- vt1 > /dev/null 2>&1 diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 488a6c1..3a265dc 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -87,7 +87,3 @@ EXPORTS=$(sed -nE \ echo "$EXPORTS" | while read -r line; do export $line done - -## Login - -[ "$USER" = "rick" ] && [ "$(tty)" = "/dev/tty1" ] && exec xinit -- vt1 > /dev/null 2>&1