diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 22:23:53 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 22:23:53 -0400 |
| commit | 0b74f6241a2d0736572f1e0653c1f96e89756f56 (patch) | |
| tree | 53de6669cd6372c1ffa24f100ed99faa1466af4b /modules/eshell-config.el | |
| parent | f3c7b012e050a32877815c164c31440a8abca035 (diff) | |
| download | dotemacs-0b74f6241a2d0736572f1e0653c1f96e89756f56.tar.gz dotemacs-0b74f6241a2d0736572f1e0653c1f96e89756f56.zip | |
feat(eshell): run eshell commands through EAT via eat-eshell-mode
Enable eat-eshell-mode so eshell's external commands run in a real EAT terminal: visual commands (vim, htop, less) render properly and ANSI output is faithful, while eshell stays the shell (elisp functions as commands, TRAMP transparency). Activated when eshell loads. EAT handles color natively, so it likely supersedes xterm-color for eshell -- left in place pending an interactive color check.
Diffstat (limited to 'modules/eshell-config.el')
| -rw-r--r-- | modules/eshell-config.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/eshell-config.el b/modules/eshell-config.el index c2ec6d152..33b900af6 100644 --- a/modules/eshell-config.el +++ b/modules/eshell-config.el @@ -179,6 +179,15 @@ pairs where COMMAND is the `cd' string `eshell/alias' should run." (delete-window))) (advice-add 'eshell-life-is-too-much :after 'cj/eshell-delete-window-on-exit) +;; Run eshell's external commands through EAT (a real terminal): visual commands +;; (vim, htop, less) render properly and ANSI output is faithful, while eshell +;; stays the shell -- elisp functions as commands + TRAMP transparency. EAT +;; handles color itself, so it supersedes xterm-color for eshell; the +;; xterm-color block below stays for now and steps aside if colors double up. +(with-eval-after-load 'esh-mode + (require 'eat) + (eat-eshell-mode 1)) + (use-package eshell-toggle :custom (eshell-toggle-size-fraction 2) |
