badmotorfinger / z

Save time typing out directory paths in PowerShell by jumping around instead.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restore CD alias when module is removed

badmotorfinger opened this issue · comments

When the module is removed from the users session, the CD alias should be restored to its original target.

See $myinvocation.mycommand.scriptblock.module.onremove