ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21.15k stars 1.41k forks source link

Can't use scoop update etc, if I have local aliases #4115

Closed roose closed 2 years ago

roose commented 4 years ago

In my locale profile.ps1 I have few Set-Alias. And scoop throw error on soop update, something like: dl : The term "local:dl" is not recognized as the name of cmdlet, function, script file... etc, how I can fix it?

roose commented 4 years ago

Hmm, it looks like Set-Alias ​​needs the -Option Private parameter to work with scoop correctly, I don't know PowerShell very well.