1 year ago

How to Configure VSCode to Use Alternative Shells

If manage the installation of alternative shells like ZSH or Fish, as I do via Nix, you might consider configuring VSCode to use that installation instead of using the VSCode’s default profiles. If so, you can do it easily by opening the VSCode settings, defining a new profile, and setting it up as the default:

"terminal.integrated.profiles.osx": {
    "Nix-managed ZSH": {
      "path": "/Users/pepicrft/.nix-profile/bin/zsh"
    }
},
"terminal.integrated.defaultProfile.windows": "Nix-managed ZSH"
About Pedro Piñera

I created XcodeProj and Tuist, and co-founded Tuist Cloud. My work is trusted by companies like Adidas, American Express, and Etsy. I enjoy building delightful tools for developers and open-source communities.