sedwards2009 / extraterm

The swiss army chainsaw of terminal emulators
https://extraterm.org
MIT License
2.52k stars 116 forks source link

Can't run bash again if "shell integration" is enabled #300

Closed Toub closed 3 years ago

Toub commented 3 years ago

I just installed Extraterm v0.55.0 with shelll integration to work with bash.

I added the following line to ~/.bashrc:

. $USER/.extraterm/extraterm-commands-0.55.0/setup_extraterm_bash.sh

Then, when opening extraterm, this message is displayed:

Setting up Extraterm support.

However, if I open bash again, it try to configure extraterm shell again, and freezes:

bash
Setting up Extraterm support. 

What about adding an environment variable in the install script to mark the setup as already completed and skip it, e.g.:

export EXTRATERM_COMMANDS_VERSION=0.55.0

Possibly related to https://github.com/sedwards2009/extraterm/issues/237

Toub commented 3 years ago

Hmm, I guess configuring extraterm in ~/.bashrc is a bad idea.

Is there a better way to make it run at extraterm startup?

sedwards2009 commented 3 years ago

Easily reproducible here.

sedwards2009 commented 3 years ago

Fixed in v0.55.1.