From 2fdf3db2300b0304ca7b2d8eb1671a3c6e671185 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 25 Apr 2021 18:25:12 -0400 Subject: [PATCH] Identify as xterm-256color --- config/profile | 16 +++++++++++----- modules/shell.org | 11 +++++++++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/config/profile b/config/profile index 326020c..8ca4b94 100644 --- a/config/profile +++ b/config/profile @@ -1,12 +1,18 @@ -# Append to the $PATH +# Force colours -# Ensure that ~~/.local/bin~ added to the =$PATH= variable. +# Manually set the terminal type to ~xterm-256color~ for better colours on TTY Emacs. -PATH=$PATH:~/.local/bin -export PATH +export TERM=xterm-256color -# Launch on TTY1 +# 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. diff --git a/modules/shell.org b/modules/shell.org index 6c843ba..ee662f8 100644 --- a/modules/shell.org +++ b/modules/shell.org @@ -17,13 +17,20 @@ Override the default behaviour of the Shell environment to integrate with Emacs. Override the default shell profile under *Bash*. +** Force colours + +Manually set the terminal type to ~xterm-256color~ for better colours on TTY Emacs. + +#+begin_src shell +export TERM=xterm-256color +#+end_src + ** Setting up the $PATH Ensure ~~/.local/bin~ added to the =$PATH= environment variable. #+begin_src shell -PATH=$PATH:~/.local/bin -export PATH +export PATH=$PATH:~/.local/bin #+end_src ** Starting Emacs by default on TTY1