-
Notifications
You must be signed in to change notification settings - Fork 210
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
Support Custom Command Format for pwsh
in the shell Field
#4595
base: main
Are you sure you want to change the base?
Conversation
profile.ps1
loading in PowerShell Hooks by passing -NoProfile
@rajeshkamal5050 Who should we reach out to for reviewing this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Yionse @v-xuto I'm wondering when we're doing: pwsh -NoProfile myScript.ps1 This would actually:
which is less ideal. Something more comprehensive is probably allowing the configuration of the |
profile.ps1
loading in PowerShell Hooks by passing -NoProfile
pwsh
in the shell Field
@weikanglim, According to your suggestion, I have resubmitted. Now can configure the |
@Yionse , unit tests are failing. Please take a look |
Fix issue #4592. This PR supports users to customize the command format of pwsh in the
shel
field, for example:pwsh [more_options]
. Azd will directly launch the command window with this customized value.For example, to avoid loading the
profile.ps1
file, users can set theshell: pwsh -NoProfile
to start in no-profile mode, as shown:@rajeshkamal5050 for notification.