Migrate term to variable and add README note

This commit is contained in:
Ellis Kenyő 2021-02-23 19:38:31 +00:00
parent 67ca6b8bd8
commit 7ec18961b0
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02
2 changed files with 9 additions and 4 deletions

View file

@ -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)
@ -90,7 +92,6 @@ You should use `set-eshell-alias!' to change this.")
;; UI enhancements
(add-hook! 'eshell-mode-hook
(setenv "TERM" "xterm-256color")
(defun +eshell-remove-fringes-h ()
(set-window-fringes nil 0 0)
(set-window-margins nil 1 nil))