extraterm icon indicating copy to clipboard operation
extraterm copied to clipboard

Inject Fish Shell Integration Crashes Or Fails

Open gardinermichael opened this issue 6 years ago • 1 comments

Shell Mode: /usr/bin/fish/

I have managed to turn on frames for Bash by running the command palette option (the script did not work, unless I'm misunderstanding how to use it), but I'm not having the same luck with fish. I have not tried zsh.

  • Executing the Inject Fish Shell Integration option in the command palette will close that terminal window after what looks like the script ends. It's launched in a Extraterm Fish shell.

  • Running the setup_extraterm_fish.fish script by typing "fish setup_extraterm_fish.fish" into the Extraterm Fish terminal window will result in the script outputting "Setting up Extraterm support." in shell but nothing more. Show and form still do not work and there are no frames in the terminal window.

gardinermichael avatar Mar 30 '19 09:03 gardinermichael

Calling the script like that is running the script in a new fish session and exiting, meaning it's not in the current interactive shell. You need to source the file in the current shell like this. (dot, space, then the script) . setup_extraterm_fish.fish

Here's an example of how mine is setup in my home directory (where I placed my setup scripts). This is from my ~/.config/fish/config.fish file. . ~/extraterm-commands/setup_extraterm_fish.fish

Edit: Typo.

Kynolin avatar Apr 01 '19 19:04 Kynolin