> > And then export PATH=<path-where-you-put-that-wrapper>:$PATH
in .bashrc
(or into vscode's ssh-config, if you dislike polluting your shell environment). Now vscode will launch the remote-server without enabling the annoying idle-shutdown.
#24918
Labels
spam
Junk issues/PRs, 'nuff said.
The simpler way of doing this is modify your server's
~/.bashrc
, add that line of exporting PATH, so that its bash shell automatically uses your modified version ofsh
.However, if you mind modifying that global bash profile, you may also configure the client so that it loads the specified
.bashrc
you want. you may utilise theRemoteCommand
option, changing it to like (generated by copilot, haven't tried out myself yet.)check microsoft/vscode-remote-release#4474 for reference about utilising
RemoteCommand
.Originally posted by @AgFlore in microsoft/vscode-remote-release#3096 (comment)
The text was updated successfully, but these errors were encountered: