Skip to content
Discussion options

You must be logged in to vote

Yes — you can choose it explicitly in tuios's config.toml. Add this to the existing [appearance] section (rather than creating a second section with that name):

[appearance]
preferred_shell = "pwsh.exe"

If PowerShell 7 isn't on PATH, use its full path instead. A TOML single-quoted string avoids backslash escaping:

preferred_shell = 'C:\Program Files\PowerShell\7\pwsh.exe'

Then open a new tuios pane; an already running PowerShell 5 process won't turn into PowerShell 7. You can confirm the new pane with $PSVersionTable.PSVersion.

The reason your Windows Terminal choice isn't carrying through is that tuios selects the shell for its own panes. In the current source, its Windows fallback checks …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Gaurav-Gosain
Comment options

Answer selected by mkunikow
Comment options

You must be logged in to vote
1 reply
@phlppgdfry
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants