Skip to content
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

powershell widget does not work #946

Open
kit494way opened this issue Feb 27, 2025 · 1 comment · May be fixed by #947
Open

powershell widget does not work #946

kit494way opened this issue Feb 27, 2025 · 1 comment · May be fixed by #947
Labels
bug Something isn't working

Comments

@kit494way
Copy link
Contributor

Describe the bug
Executing the script of navi widget power-shell fails because it try to copy files from relative path that does not exists.

Copy-Item -Path .\navi.plugin\ -Destination $PwshModulePath -Force -Recurse

To Reproduce
Steps to reproduce the behavior:

  1. Execute navi widget power-shell | Out-String | Invoke-Expression

Expected behavior
The script is successfully executed.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions:

  • OS: Windows 11
  • Shell Version: PowerShell 7.5.0

Additional context
Add any other context about the problem here.

@kit494way kit494way added the bug Something isn't working label Feb 27, 2025
@alexis-opolka
Copy link
Contributor

@kit494way You could directly ping me when it's related to the powershell plugin. 😄

It's completely normal that it fails because I didn't take into account that we could call the installation script of the plugin that way.
I'll be opening a PR fixing it shortly.

@alexis-opolka alexis-opolka linked a pull request Feb 28, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants