*Shell Configuration

Shell Configuration

Index · config.org

Eshell

Eshell is configured with Plan 9 smart display emulation and integrated with eat (Emulate A Terminal) for proper terminal emulation when needed. This setup replaces vterm with a lighter-weight solution that stays within Eshell.

Key settings:

  • Enable em-smart for Plan 9-style smart command display
  • Clear eshell-visual-commands since eat handles curses applications
  • Use plain-echo-behavior for proper -n flag support in echo

The MacOS-specific bash-completion path override lives in modules/workarounds.org alongside the other platform-specific fixes.

(after! eshell
  (require 'em-smart)
  (eshell-smart-initialize)
  (setq eshell-plain-echo-behavior t
        eshell-visual-commands '()))

(add-hook 'eshell-load-hook #'eat-eshell-mode)

Exported 2026-08-04 Tue 21:39