On Linux
alias cdt=\'cd /usr/a\'
make a alias that when I type
cdt
I change the workpath to /use/a
<Aliases can't use parameters, so define a function instead.
function cdt { set-location "F:\a" }
To make sure this stays as a permanent alias you can do the following in powershell:
notepad $profile
and paste the following in the file (at the end):
function gotoa { set-location "F:\a" }
new-alias cdt gotoa