bash aliases equivalent for powershell?
- by Santosh Kumar
By default my Windows PowerShell starts in C:\Users\Santosh, my XAMPP installation is in D:\ so the htdocs folder is located at D:\xampp\htdocs. If I have to edit something in htdocs folder then I have to type full cd D:\xampp\htdocs\ (autocompletion is not so kind) then edit that file.
If this PowerShell were a Bash I would do this in .bash_aliases file:
alias htdocs='cd D:\xampp\htdocs'
Is it possible to maintain Bash aliases like file and alias any command in PowerShell?