config.fish 200 B

123456789
  1. if status is-interactive
  2. # Commands to run in interactive sessions can go here
  3. end
  4. if status is-login
  5. if test -z "$DISPLAY" -a "$(tty)" = /dev/tty1
  6. exec startx -- -keeptty
  7. end
  8. end