Skip to content

cmd/aliases: Improve PowerShell alias#227

Merged
jmooring merged 1 commit intomainfrom
improve-powershell-alias
Apr 5, 2026
Merged

cmd/aliases: Improve PowerShell alias#227
jmooring merged 1 commit intomainfrom
improve-powershell-alias

Conversation

@jmooring
Copy link
Copy Markdown
Owner

@jmooring jmooring commented Apr 5, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the PowerShell hugo alias wrapper to more closely match the behavior of the other shell aliases by resolving the correct Hugo executable path via hvm status, falling back to hvm use, and finally to a system-installed Hugo.

Changes:

  • Refactors Hugo-Override to prefer hvm status --printExecPathCached, then --printExecPath + hvm use --useVersionInDotFile, then system hugo.
  • Ensures the resolved Hugo binary is always invoked at the end with argument splatting.
  • Forces the hugo alias mapping to Hugo-Override.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/aliases/powershell.ps1 Outdated
@jmooring jmooring force-pushed the improve-powershell-alias branch 2 times, most recently from 644ce7d to 5f3b9bb Compare April 5, 2026 17:02
@jmooring jmooring requested a review from Copilot April 5, 2026 17:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/aliases/powershell.ps1 Outdated
Comment thread cmd/aliases/powershell.ps1 Outdated
Comment thread cmd/aliases/powershell.ps1 Outdated
Comment thread cmd/aliases/powershell.ps1 Outdated
@jmooring jmooring force-pushed the improve-powershell-alias branch 2 times, most recently from fc9ef3c to f7d69a1 Compare April 5, 2026 17:27
@jmooring jmooring requested a review from Copilot April 5, 2026 17:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/aliases/powershell.ps1
Comment thread cmd/aliases/powershell.ps1
Comment thread cmd/aliases/powershell.ps1 Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/aliases/powershell.ps1 Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/aliases/powershell.ps1
Comment thread cmd/aliases/powershell.ps1
@jmooring jmooring merged commit 3246351 into main Apr 5, 2026
9 checks passed
@jmooring jmooring deleted the improve-powershell-alias branch April 5, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants