In eshell, use cat as pager and emacsclient as editor
This commit is contained in:
parent
467c45705c
commit
9b94939c42
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user