-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Allow changing terminal shell in Teleport Connect #45152
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
257c965
Get available shells for the system and store them in `RuntimeSettings`
gzdunek e5fd3b7
Add a config option for `terminal.shell`
gzdunek 74fb5cf
Add `shellId` to terminal documents and pty commands
gzdunek 431b0f7
Pass the `shellId` from pty command to pty process options (and resol…
gzdunek 1fbed56
Allow changing the active and default shell from the context menu
gzdunek 74bdc2b
Show active shell in the tab name, drop "Terminal" from the name on W…
gzdunek baedfa8
Fix resolving shell env for `csh`
gzdunek 03d7b16
Do not read unix shells from `/etc/shells`, add a config property for…
gzdunek 5e3e407
Add a whitelist of config properties that can be modified from the re…
gzdunek 58b78f4
Allow selecting custom shell
gzdunek 563541f
Return back the actually opened shell and creation status
gzdunek ffaf668
Pass variables to WSL via WSLENV
gzdunek 9b017fd
Merge branch 'master' into gzdunek/shell-switcher
gzdunek e767729
Do not change the default shell when selecting a custom shell
gzdunek ac675c9
Show profile switcher only when there is more than one shell to choos…
gzdunek a040671
Show shell name in the "Default Shell" context menu as sublabel
gzdunek 531d39e
Remove comment about sync setup of `setUpDeepLinks`
gzdunek 3f6a561
Replace `MainTabContextMenuOptions` type
gzdunek 11c238c
Merge branch 'master' into gzdunek/shell-switcher
gzdunek 5fb0680
Improve types in `subscribeToTabContextMenuEvent`
gzdunek 263e0dd
Use early return
gzdunek 230a1bc
Fix condition in the schema for `terminal.shell`
gzdunek cdab839
Expand the comment for `preventAutoPromiseResolveOnMenuClose`
gzdunek 8b59b26
Render available shells without an array
gzdunek 28a719c
`openedShell` -> `shell`
gzdunek 28ba4a4
Add tests for resolving shell
gzdunek 9b5b4b2
Remove `PtyOptions`
gzdunek 6cbd5ea
Preserve user defined WSLENV
gzdunek 0efbc78
Remove the check for `fs.access(customShellPath)`
gzdunek 1f14c0f
Mock `process.env` instead of mutating it
gzdunek e38f2c4
Fix remaining `openedShell` -> `shell`
gzdunek 3f042d1
Fix `PATH` issue on Windows
gzdunek 52f0485
Remove updating a document with the default shell in `useDocumentTerm…
gzdunek cc84c82
Add `canDocChangeShell`
gzdunek 6c2af71
Omit the default shell name on Linux too
gzdunek 0ec349b
Convert `buildPtyOptions` parameters to object, pass `process.env` fr…
gzdunek 870fe43
Revert "Remove updating a document with the default shell in `useDocu…
gzdunek d45ef0d
Improve comments
gzdunek ef3f622
Throw when the document doesn't exist
gzdunek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
ravicious marked this conversation as resolved.
ravicious marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.