Closed Dhyfer1 closed 1 year ago
Run this:
New-Item $PROFILE -Force
Add-Content $PROFILE 'Set-Alias winfetch pwshfetch-test-1'
Now it should work.
Run this:
New-Item $PROFILE -Force Add-Content $PROFILE 'Set-Alias winfetch pwshfetch-test-1'
Now it should work.
Thank you very much, now it works! 😁 But I think those commands should also be mentioned in the wiki when winfetch is installed from Powershell Gallery, don't you think?
Users of PowerShell already have the $PROFILE
file created, so the command to create it is not mentioned.
Hi.
I installed Winfetch through the recommended way, using Powershell Gallery. I followed the instructions mentioned in Installation, so to start I typed the following in Powershell:
After an installation without any apparent problem, I type winfetch and it runs correctly, then I close Powershell. When I reopen Powershell to run winfetch again, this is the error message after typing winfetch:
However, winfetch runs correctly if I type the name of the script, which is pwshfetch-test-1
What can I do to make winfetch run just by typing winfetch?
Thanks in advance.