On Linux
alias cdt='cd /usr/a'
make a alias that when I type
cdt
I change the workpath to /use/a
On PowerShell
Set-Alias cdt "cd F://a"
It seems not work
On Linux
alias cdt='cd /usr/a'
make a alias that when I type
cdt
I change the workpath to /use/a
On PowerShell
Set-Alias cdt "cd F://a"
It seems not work
Aliases can't use parameters, so define a function instead.
function cdt { set-location "F:\a" }