Pash-Project / Pash

An Open Source reimplementation of Windows PowerShell, for Mono.
https://groups.google.com/group/pash-project
BSD 3-Clause "New" or "Revised" License
516 stars 54 forks source link

Cannot remove alias #399

Open ForNeVeR opened 9 years ago

ForNeVeR commented 9 years ago

In Windows PowerShell, the correct way to remove an alias is

> rm alias:ls

In Pash it doesn't work:

PASH /home/fornever> rm alias:ls
The requested feature is not implemented.
  +CategoryInfo: NotSpecified, Reason: NotImplementedException
  +FullyQualifiedErrorId: NotImplementedException,System.Management.Automation
sburnicki commented 8 years ago

This is because some functionality is not yet implemented in the SessionStateProvider. So this basically affects all SessionState related itemes as also variables.