# Force colours # Manually set the terminal type to ~xterm-256color~ for better colours on TTY Emacs. export TERM=xterm-256color # Setting up the $PATH # Ensure ~~/.local/bin~ added to the =$PATH= environment variable. export PATH=$PATH:~/.local/bin # Starting Emacs by default on TTY1 # When launching into a new session on ~TTY1~, if the display server is not running, run *StartX*[fn:3]. This will launch the window manager. if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then exec startx fi