IssueRaiser

Enable custom shell initialization script on the remote

The system where I would use the Remote SSH feature has a quite "vintage" tool setup by default, which causes installation of the extension to fail. By modifying my `.bashrc` I am able to work around this with generous use of `module add`, but now my whole environment is "non-standard", and build tools ding me for this, even if I'm not using Code. I'm sure that at some point I will spend days looking for a bug caused by me swapping out the core GNU tooling for a different version. I suggest adding the possibility to specify a script that is sourced on the remote before executing the installation and launching the extension server. It doesn't have to be a setting, just a script with a known name. This would put the remote tools on equal footing with the IDE itself, where i am able to run `code` inside a custom environment by sourcing a setup script first, without having to "pollute" my `.bashrc`. This request might be slightly related to #83.

Posted by davidwin on May 5, 2019, 9:52 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

reliability (Sysadmin)

Enable custom shell initialization script on the remote

davidwinMay 5, 2019, 9:52 AM

The system where I would use the Remote SSH feature has a quite "vintage" tool setup by default, which causes installation of the extension to fail. By modifying my `.bashrc` I am able to work around this with generous use of `module add`, but now my whole environment is "non-standard", and build tools ding me for this, even if I'm not using Code. I'm sure that at some point I will spend days looking for a bug caused by me swapping out the core GNU tooling for a different version. I suggest adding the possibility to specify a script that is sourced on the remote before executing the installation and launching the extension server. It doesn't have to be a setting, just a script with a known name. This would put the remote tools on equal footing with the IDE itself, where i am able to run `code` inside a custom environment by sourcing a setup script first, without having to "pollute" my `.bashrc`. This request might be slightly related to #83.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue