'VSCode multiple shells in integrated terminal dropdown

In the past I was able to toggle among various shells in the VSCode terminal by selecting them from the terminal's drop down. I'm on a new machine and for some reason no matter what shells I have installed, I only ever see the default shell as an option.

I must be missing something, but searching online hasn't helped. Ex I have node, bash and zsh installed, but this is what the drop down looks like.

Any suggestions?

enter image description here



Solution 1:[1]

The dropdown just shows what's running in each open terminal tab. If you click the +, then there will be two tabs, and two items in the list.

If, in Tab 2, you type zsh to change the shell, then your dropdown will read 1. Bash; 2. Zsh. Same if you open a third and type node.

Perhaps your previous configuration opened 3 tabs by default, but in any case, it should be as simple as typing the node, bash, or zsh in the terminal's command line to switch -- provided you have those installed on your new system.

As for which is the VSCode default, you can configure that in the settings GUI or settings.json.

-- Edit -- The OP found a solution (quoted from comment):

Terminals Manager does something very similar - opens multiple terminal tabs with different/configurable shells.

Solution 2:[2]

Here's the full steps to go back to terminal dropdown list https://ilpd-ms.blogspot.com/2021/06/vsc-terminal-dropdown-list.html File>Preferences>Settings Workplace In the search, write (terminal>integrated>Tabs:) Scroll up to the first result which says (Terminal › Integrated › Tabs: Enabled) Untick the square below And here you go. You will notice that terminal is back to dropdown menu.

Solution 3:[3]

If you do "Select Default Shell", and change it to what you want, then click on the plus, you should get a new shell option in the dropdown.

Solution 4:[4]

If you are looking for shells with paths here, I have found this is automatic when you are opened in the context of a workspace.

Perhaps you have an old workspace you can open or start by adding paths to a new one.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Mohamed Salah
Solution 3 afghanimah
Solution 4 jbreiding