WindowsPowerShell/alias.ps1
Kenneth Benzie (Benie) 68b21da5b9 Replace default cd alias with cd function
Define cd to work more like Unix/Linux:

* No path argument changes to the users home directory
* Passing "-" for the path argument changes to the previous directory
2024-12-13 20:52:18 +00:00

6 lines
188 B
PowerShell

# Remove these aliases to PowerShell builtins which clobber the actaul exes.
Remove-Item alias:curl
Remove-Item alias:wget
Remove-Item alias:cd
# TODO: Remove default abbriviation aliases