(eshell-life-is-too-much)
(delete-char arg)))
+ (defun amin/eshell-clear ()
+ (interactive)
+ (let ((inhibit-read-only t))
+ (erase-buffer))
+ (eshell-send-input))
+
(defun amin|eshell-setup ()
(bind-keys :map eshell-mode-map
- ("C-d" . amin/eshell-quit-or-delete-char)))
+ ("C-d" . amin/eshell-quit-or-delete-char)
+ ("C-l" . amin/eshell-clear)))
:hook (eshell-mode . amin|eshell-setup))
#+end_src
'(("*Help*" :align right :select t :size 0.5)
("\\`\\*helm.*?\\*\\'" :regexp t :align t)
((compilation-mode "\\`\\*magit-diff: .*?\\'") :regexp t :noselect t)
+ ("*magit-dispatch-popup*" :align bottom)
((inferior-scheme-mode "*shell*" "*eshell*") :popup t))
shackle-default-rule '(:select t)
shackle-default-size 0.4