In eshell, use cat as pager and emacsclient as editor

This commit is contained in:
niten 2021-01-15 12:29:06 -06:00
parent 467c45705c
commit 9b94939c42

View File

@ -113,6 +113,11 @@
"Filter list lst to only those elements matching condp."
(delq nil (mapcar (lambda (x) (and (funcall condp x) x)) lst)))
(add-hook 'eshell-mode-hook
(lambda ()
(setenv "PAGER" "cat"))
(setenv "EDITOR" "emacsclient")))
(let ((site-dir (expand-file-name "~/.doom.d/site.d/")))
(let ((configs (filter (lambda (name)
(not (or (string-match "~$" name)