Repository navigation
Preferred shell - #2473
Preferred shell#2473
Conversation
| editor: `Open in ${this.selectedExternalEditor}`, | ||
| shell: __DARWIN__ | ||
| ? `Open in ${this.selectedShell}` | ||
| : 'Op&en command prompt', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| const shells = [Shell.Cmd] | ||
|
|
||
| const powerShell = await readRegistryKeySafe( | ||
| 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine' |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| label: __DARWIN__ ? 'Open in Terminal' : 'Open command prompt', | ||
| label: __DARWIN__ | ||
| ? `Open in ${this.props.shellLabel}` | ||
| : 'Open command prompt', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
This is ready 🙏 I definitely bumbled my way through the Windows side, mostly cargo-culting, so I'm sure that could use some more careful 👀 |
| import { IFoundShell } from './found-shell' | ||
|
|
||
| export enum Shell { | ||
| Cmd = 'cmd', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Feel free to carry this forward while I'm out, or I can pick it back up when I'm back. |
shiftkey
left a comment
There was a problem hiding this comment.
I really don't have anything to add to this to hold it up. Tested fine on macOS and Windows, and I think we could get this out into a beta update real soon.

Fixes #888