JanDeDobbeleer / aliae

Cross shell and platform alias management
https://aliae.dev
MIT License
73 stars 3 forks source link

Alias not getting removed on Win10/pwsh #42

Closed Lil-Dank closed 9 months ago

Lil-Dank commented 9 months ago

Code of Conduct

What happened?

The Alias I set using Aliae isn't getting removed after removing it from the .yaml configuration File.

I tried: reloading the Powershell Profile

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

JanDeDobbeleer commented 9 months ago

@Lil-Dank did you restart the shell? Because the scope of this is Local which stays for as long as the shell is active. Restarting the shell (or starting a new instance) resolves that. I also just validated this locally. As this is PowerShell behaviour, this is according to design.