New answers tagged

1

Simply using M-x term instead of M-x shell or M-x eshell solved my similar problem. The interface is actually better than eshell or shell. For example, for repeating the previous command just need the up key; Auto-completion works smoothly (but editing multi-lines is not as nice as eshell or shell). I should also add that, for me the solution mentioned above ...


1

The keybindings created with :bind expect a function name (not sure how lambdas are expanded) so you can define a named function in the :init clause of use-package which should work as expected... (use-package eshell :after esh-mode :init (defun my-clear-shell () (interactive) (message "I am some other function")) :bind (:map ...


Top 50 recent answers are included