I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.3 KiB

EShell

EShell is a fully POSIX compliant shell written entirely in Emacs Lisp, included with Emacs.

Config

While not a traditional terminal emulator, it provides a native REPL for Emacs Lisp code, with everything in your configuration available in the environment. Make some slight configurations:

  • Don't highlight the prompt

  • Favour use of system utilities

(setq eshell-highlight-prompt nil
      eshell-prefer-lisp-functions nil)

Extras

Implement the lambda prompt for aesthetic purposes with the eshell-prompt-extras package. Here's an example of what that looks like:

~/.emacs.d/modules:main*? λ
(use-package eshell-prompt-extras
  :custom (eshell-prompt-function 'epe-theme-lambda))

Shortcuts

Open eshell in the current buffer with SPC e:

(dotfiles/leader
  "e" '(eshell :which-key "EShell"))