This is a "fun" question with some level of serious application. I like chav lingo and I was thinking it would be pretty cool to run npm innit
instead of npm init
. I know broadly npm allows aliases through package.json (eg when you run scripts) eg npm run innit
would be trivial. however that's not really what I'm going for. I want to alias npm innit
to npm init
. just wondering if theres a way. i've looked through npm help
as well as .bash_profile alias
instructions on macosx but they dont really allow for space-separated aliases...
please let me know if you have any ideas. would help me learn aliasing more generally too.
thank you.