Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make zsh default shell in devContainer #55

Closed
DocMoebiuz opened this issue Oct 24, 2022 · 1 comment · Fixed by #58
Closed

Make zsh default shell in devContainer #55

DocMoebiuz opened this issue Oct 24, 2022 · 1 comment · Fixed by #58
Assignees

Comments

@DocMoebiuz
Copy link
Contributor

At the moment, when you open a shell in VSCode by clicking on the +-symbol a rudimentary shell is instantiated despite of the fact that we have ohmyzsh extension installed on purpose. zsh is only the second option.

Steps to reproduce:

  • Start the vehicle app python template devContainer
  • Open the terminal with ctrl+`
  • Click + symbol to create an additional shell

Expected result:

  • zsh is created

Actual result:

  • bash shell is created
@DocMoebiuz
Copy link
Contributor Author

use the options in devContainer.json for setting the default shell:

        [...]
        // Set *default* container specific settings.json values on container create.
	"settings": {
		[...]
		"terminal.integrated.defaultProfile.linux": "zsh", 
		"terminal.integrated.profiles.linux": {
			"zsh": {
				"path": "/bin/zsh"
			}
		}
	},
        [...]

@DocMoebiuz DocMoebiuz self-assigned this Oct 24, 2022
@MP91 MP91 linked a pull request Oct 25, 2022 that will close this issue
10 tasks
@MP91 MP91 closed this as completed Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants