profile: Autostart Emacs on vt01

master
Pierre Neidhardt 2017-07-29 09:32:14 +01:00
parent 1187564a59
commit e0d500cbb7
1 changed files with 2 additions and 0 deletions

View File

@ -176,3 +176,5 @@ export VISUAL
## End: Source .bashrc. The rc file should guard against non-interactive shells.
[ "$(ps -o comm= $$)" != bash ] && return
[ -f ~/.bashrc ] && . ~/.bashrc
[ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] && exec xinit -- vt01