Eschewing Zshell for Emacs Shell (2014)

(howardism.org)

21 points | by pvdebbe 3 days ago

2 comments

  • m463 33 minutes ago
    I tried using shell mode in emacs, but my fingers use control-p and control-r on the terminal shell and I fail.

    instead of searching backwards in commands, it does it in the buffer.

    How do people deal with this?

    • qazxcvbnm 26 minutes ago
      M-n, M-p. M-r for searching on past commands. C-c c-n/C-p for next/previous prompt. C-c C-r to scroll to focus on output.

      Having switched recently to Emacs, my current issue is how to get Emacs shell history saved properly for my other shell buffers, and getting completions from shell (not Emacs) to work, planning to try MisTTY soon.

  • kkfx 45 minutes ago
    Personally, while living in Emacs (EXWM), I still can't live on eshell, the issue is "the terminal", too many commands are simply uncomfortable to use in eshell while run smoothly in a real terminal.

    I've also tried some new shells, the one I last more is xonsh, but generally I came back to zsh even if I use in general much less the shell than before thanks to Emacs, the 2D shell.

    Emacs completion also it's very nice for text, but slower than tab-cycle in zsh as well and for quick commands that's matter.

    • klodolph 43 minutes ago
      I agree with the assessment about eshell. I use eshell for one thing only—quick terminal sessions in the same directory as the file I'm editing.