DEV Community

Discussion on: Customise Your Terminal Like You Deserve

Collapse
 
cappe987 profile image
Casper
alias nr='npm run'
Enter fullscreen mode Exit fullscreen mode

You don't need a function for it. You even said it yourself, you can use alias for anything that doesn't require arguments in-between. If all your arguments are at the end then an alias is just fine.

Collapse
 
yetanotherdeveloper profile image
Yet Another Developer

I was just giving example, But thanks for pointing out