fix: do not setenv PAGER in shell layer (#15369)
This commit is contained in:
parent
e9adfe9122
commit
8587ab6df0
|
@ -124,7 +124,10 @@
|
|||
;; quick commands
|
||||
(defalias 'eshell/e 'find-file-other-window)
|
||||
(defalias 'eshell/d 'dired)
|
||||
(setenv "PAGER" "cat")
|
||||
|
||||
(require 'esh-var)
|
||||
(add-to-list 'eshell-variable-aliases-list
|
||||
`("PAGER" ,(lambda (_indices) "cat") t))
|
||||
|
||||
;; support `em-smart'
|
||||
(when shell-enable-smart-eshell
|
||||
|
|
Loading…
Reference in New Issue