mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
General cleanup
This commit is contained in:
@@ -2,17 +2,15 @@
|
||||
|
||||
(use-package eshell
|
||||
:when IS-WINDOWS
|
||||
:defer t
|
||||
:init
|
||||
(evil-set-initial-state 'eshell-mode 'normal)
|
||||
(evil-set-initial-state 'eshell-mode 'emacs)
|
||||
(setq eshell-directory-name (concat doom-temp-dir "/eshell")
|
||||
eshell-scroll-to-bottom-on-input 'all
|
||||
eshell-buffer-shorthand t
|
||||
|
||||
;; em-glob
|
||||
eshell-glob-case-insensitive t
|
||||
eshell-error-if-no-glob t
|
||||
|
||||
eshell-where-to-jump 'end
|
||||
;; em-alias
|
||||
eshell-aliases-file (concat doom-temp-dir "/.eshell-aliases"))
|
||||
|
||||
@@ -21,14 +19,12 @@
|
||||
|
||||
;; plan 9 smart shell
|
||||
(require 'em-smart)
|
||||
(add-to-list 'eshell-modules-list 'eshell-smart)
|
||||
(push 'eshell-smart eshell-modules-list)
|
||||
(setq eshell-where-to-jump 'begin)
|
||||
(setq eshell-review-quick-commands nil)
|
||||
(setq eshell-smart-space-goes-to-end t)
|
||||
|
||||
;; em-prompt
|
||||
(setq eshell-prompt-function 'doom/eshell-prompt)
|
||||
|
||||
(map! :map eshell-mode-map
|
||||
:n "i" 'doom/eshell-evil-prepend-maybe
|
||||
:n "I" 'doom/eshell-evil-prepend
|
||||
|
Reference in New Issue
Block a user