You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
515 B
22 lines
515 B
# 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
|