SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
543 stars 36 forks source link

Add `shell` option to `ssh-shell` tasks #235

Closed SchoofsKelvin closed 3 years ago

SchoofsKelvin commented 3 years ago

I also want my bashrc or my bash_profile to be sourced at boot without specifying it in the "command" of a task but rather in the "terminalCommand" of the configuration to have all my dev env set up.

The terminalCommand is purely used for the terminal, but I could add something like a shell option to specify the command used to launch the task's shell.

Originally posted by @SchoofsKelvin in https://github.com/SchoofsKelvin/vscode-sshfs/issues/215#issuecomment-760205837

SchoofsKelvin commented 3 years ago

This is now added in v1.20.0 of the extension.

The config editor (settings UI) now has a "Task command" field. Defaults to $COMMAND but can be anything. The $COMMAND placeholder will be replaced with the command defined in the task.