Merge pull request #4678 from elken/eshell-termname
Set default eshell TERM
This commit is contained in:
commit
d5317b0c7c
2 changed files with 9 additions and 3 deletions
|
@ -12,6 +12,7 @@
|
||||||
- [[#prerequisites][Prerequisites]]
|
- [[#prerequisites][Prerequisites]]
|
||||||
- [[#features][Features]]
|
- [[#features][Features]]
|
||||||
- [[#configuration][Configuration]]
|
- [[#configuration][Configuration]]
|
||||||
|
- [[#term-name][TERM name]]
|
||||||
- [[#troubleshooting][Troubleshooting]]
|
- [[#troubleshooting][Troubleshooting]]
|
||||||
|
|
||||||
* Description
|
* 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
|
+ [[https://github.com/rupa/z][=z=]]-like directory jumping
|
||||||
+ Command-not-found recommendations
|
+ Command-not-found recommendations
|
||||||
|
|
||||||
* TODO Configuration
|
* Configuration
|
||||||
# How to configure this module, including common problems and how to address them.
|
** 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
|
* TODO Troubleshooting
|
||||||
# Common issues and their solution, or places to look for help.
|
# Common issues and their solution, or places to look for help.
|
||||||
|
|
|
@ -71,7 +71,9 @@ You should use `set-eshell-alias!' to change this.")
|
||||||
eshell-prompt-function #'+eshell-default-prompt-fn
|
eshell-prompt-function #'+eshell-default-prompt-fn
|
||||||
;; em-glob
|
;; em-glob
|
||||||
eshell-glob-case-insensitive t
|
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
|
;; Consider eshell buffers real
|
||||||
(add-hook 'eshell-mode-hook #'doom-mark-buffer-as-real-h)
|
(add-hook 'eshell-mode-hook #'doom-mark-buffer-as-real-h)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue