I would like to know how to create one alias with multiple commands in Cmder, that accepts parameters and injects them into the commands.
To separate commands in a single alias $t
would do the trick.
To retrieve all the parameters passed to an alias $*
would do the trick.
alias serveApp=cd "C:\app" $t grunt serve
alias nav=cd $*
, usage: nav "C:\app"
alias servePath=cd $* $t grunt serve
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With