wip: update eshell setup
This commit is contained in:
@@ -82,6 +82,19 @@
|
||||
;; We need colors in eshell
|
||||
(use-package xterm-color)
|
||||
|
||||
(use-package eshell
|
||||
:straight (:type built-in)
|
||||
:hook (eshell-mode . (lambda ()
|
||||
(setenv "TERM" "xterm-256color")))
|
||||
:hook (eshell-before-prompt . (lambda ()
|
||||
(setq xterm-color-preserve-properties t)))
|
||||
:hook (eshell-mode . (lambda ()
|
||||
(progn
|
||||
(define-key eshell-hist-mode-map (kbd "<up>") nil)
|
||||
(define-key eshell-hist-mode-map (kbd "<down>") nil))))
|
||||
:config
|
||||
(load "~/.emacs.d/elisp/eshell-setup.el"))
|
||||
|
||||
;; eat terminal emulator:
|
||||
(use-package eat
|
||||
:straight (:type git
|
||||
|
||||
Reference in New Issue
Block a user