microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.53k stars 28.99k forks source link

what is the replacement for "terminal.integrated.automationShell.linux" now that it is deprecated? #208548

Open nektro opened 6 months ago

nektro commented 6 months ago

Does this issue occur when all extensions are disabled?: Yes

  1. wanted to setup a build task and got an unfixable command not found error unless using an absolute path
  2. multiple SO posts suggest making a custom script that calls bash with my .bashrc included
  3. this does not work and opening my .vscode/settings.json shows "Unknown Configuration Setting" over the setting
  4. running the command in question in the integrated terminal works fine
vscodenpa commented 6 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.87.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

meganrogge commented 6 months ago

terminal.integrated.automationProfile.linux should still work for you even though it's deprecated. does it not?

nektro commented 6 months ago

atm no, I get "Unknown Configuration Setting" on hover and then when I run the build task it still uses the shell that has none of the variables from my rc file

meganrogge commented 6 months ago

do you set a default profile for linux? that should be used if so

nektro commented 6 months ago

changing the profile doesnt change the output in the build task tab and running /usr/bin/bash -c 'zig version' directly does work