Fish not working correctly in Terminal for remote development
I use the fish shell, and when I try to launch a new Terminal from inside IntelliJ when using the Jetbrains Client for remote development, I see the following errors:
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
fish: Unknown command: _tide_item_newline
~/.config/fish/functions/_tide_1_line_prompt.fish (line 4):
_tide_item_$item
^~~~~~~~~~~~~~~^
in function '_tide_1_line_prompt'
in command substitution
I have seen this error before when running IntelliJ locally, and the solution that worked was to go into Preferences -> Terminal and uncheck "Shell Integration".
When using remote development, I disabled that option, but it doesn't seem to resolve the issue (I suspect this is a local only setting?).
Is there a way to fix this for remote dev?
Please sign in to leave a comment.
Hello Ryan,
You are right, most likely you are disabling shell integration for the client settings, you should see "Client" next to "Terminal" in the list of settings:

You can change this setting on the remote IDE if you open Main Window of the remote IDE and then open the settings.
Thanks!
Took me a little while to find the backend settings, but I finally got in there and was able to disable shell integration.
Now it is working.