diff options
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/emacs/init.el b/emacs/init.el index cf4eae7..4506d0b 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -242,12 +242,7 @@ (eshell))) (defun my/eshell-clear () (interactive) - (if eshell-foreground-command - (eshell/clear-scrollback) - (let ((input (eshell-get-old-input))) - (eshell/clear-scrollback) - (eshell-emit-prompt) - (insert input)))) + (eshell/clear-scrollback)) (add-to-list 'eshell-variable-aliases-list `("TERM" ,(lambda () "xterm-256colors") t t)) :bind (("C-c e" . my/eshell) |
