You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user-defined find alias seems to override the Find function in ZLocation.LiteDB.psm1, unless the alias is defined with the Private option (just a theory though).
Steps to reproduce:
Add Set-Alias find Get-Item -Option None to your PS 7 profile
Open PS 7 and run some commands
Run Invoke-ZLocation and notice that none of the weights have been updated
Remove the alias and reload PS
Everything now works
Another note: if the find alias is created with the Private option, the alias stays in user scope and does not affect the function of ZLocation.
The text was updated successfully, but these errors were encountered:
A user-defined find alias seems to override the Find function in ZLocation.LiteDB.psm1, unless the alias is defined with the Private option (just a theory though).
Steps to reproduce:
Set-Alias find Get-Item -Option None
to your PS 7 profileInvoke-ZLocation
and notice that none of the weights have been updatedAnother note: if the find alias is created with the Private option, the alias stays in user scope and does not affect the function of ZLocation.
The text was updated successfully, but these errors were encountered: