syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.69k stars 4.9k forks source link

eshell very slow when the shell layer is installed #8430

Closed MRFaria closed 4 years ago

MRFaria commented 7 years ago

Description :octocat:

Eshell becomes slow when the shell layer is switched on and even simple commands like 'ls', or even standard file auto-completion can take a couple of seconds to complete.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: There can be delays or around 1-2 seconds when executing simple commands.

Expected behaviour: :heart: :smile: eshell without the shell layer just instantly returns from ls and cd

System Info :computer:

olessavluk commented 7 years ago

For me, eshell works fine locally. But it's extremely slow with TRAMP over ssh in a folder with git. Just pressing Enter takes about ~5sec.

Seems like this was cased by eshell-prompt-extras, see https://github.com/kaihaosw/eshell-prompt-extras/issues/20 which is fixed now. You should update emacs packages to get the latest version.

@MRFaria I guess this issue can be closed now?

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!