diff --git a/modules/term/eshell/README.org b/modules/term/eshell/README.org index ad3c5878b..066a71f46 100644 --- a/modules/term/eshell/README.org +++ b/modules/term/eshell/README.org @@ -12,6 +12,7 @@ - [[#prerequisites][Prerequisites]] - [[#features][Features]] - [[#configuration][Configuration]] + - [[#term-name][TERM name]] - [[#troubleshooting][Troubleshooting]] * Description @@ -54,8 +55,11 @@ found. If neither shell is found, completions may not be available. + [[https://github.com/rupa/z][=z=]]-like directory jumping + Command-not-found recommendations -* TODO Configuration -# How to configure this module, including common problems and how to address them. +* Configuration +** TERM name +By default, =eshell= sets the =$TERM= variable to ="xterm-256color"=, which helps with +rendering various colours. As eshell is /not/ a terminal emulator, these will not +always work 100%. Modifying =eshell-term-name= to your liking may help. * TODO Troubleshooting # Common issues and their solution, or places to look for help. diff --git a/modules/term/eshell/config.el b/modules/term/eshell/config.el index b9fa44350..e9ddce2c4 100644 --- a/modules/term/eshell/config.el +++ b/modules/term/eshell/config.el @@ -71,7 +71,9 @@ You should use `set-eshell-alias!' to change this.") eshell-prompt-function #'+eshell-default-prompt-fn ;; em-glob eshell-glob-case-insensitive t - eshell-error-if-no-glob t) + eshell-error-if-no-glob t + ;; Shell config + eshell-term-name "xterm-256color") ;; Consider eshell buffers real (add-hook 'eshell-mode-hook #'doom-mark-buffer-as-real-h)