MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/a6txtp/coming_from_python_to_js/ebz2eug/?context=3
r/javascript • u/chroner • Dec 16 '18
const print = console.log
I found my safe space.
156 comments sorted by
View all comments
Show parent comments
5
Almost like npm isntall is a default alias for npm install.
npm isntall
npm install
8 u/GabrielChiconiDev Dec 17 '18 Why doesn't everybody npm i though? 4 u/killchain Dec 17 '18 I do. At one point I was so lazy that I even had ni alias for the same thing. 2 u/mrbojingle Dec 17 '18 The fewer characters the better. 1 u/diatu Dec 17 '18 Are you trying to reinvent bash commands? Cause that's how you get bash commands!edit:pnctatn 2 u/mrbojingle Dec 17 '18 Yes! All my bash aliases are 1-3 chars abbrivations. I also made a nice aliases builder that takes a name and my last run command and sticks a new alias in my bash_aliases file. It's pretty sweet.
8
Why doesn't everybody npm i though?
npm i
4 u/killchain Dec 17 '18 I do. At one point I was so lazy that I even had ni alias for the same thing. 2 u/mrbojingle Dec 17 '18 The fewer characters the better. 1 u/diatu Dec 17 '18 Are you trying to reinvent bash commands? Cause that's how you get bash commands!edit:pnctatn 2 u/mrbojingle Dec 17 '18 Yes! All my bash aliases are 1-3 chars abbrivations. I also made a nice aliases builder that takes a name and my last run command and sticks a new alias in my bash_aliases file. It's pretty sweet.
4
I do. At one point I was so lazy that I even had ni alias for the same thing.
ni
2 u/mrbojingle Dec 17 '18 The fewer characters the better. 1 u/diatu Dec 17 '18 Are you trying to reinvent bash commands? Cause that's how you get bash commands!edit:pnctatn 2 u/mrbojingle Dec 17 '18 Yes! All my bash aliases are 1-3 chars abbrivations. I also made a nice aliases builder that takes a name and my last run command and sticks a new alias in my bash_aliases file. It's pretty sweet.
2
The fewer characters the better.
1 u/diatu Dec 17 '18 Are you trying to reinvent bash commands? Cause that's how you get bash commands!edit:pnctatn 2 u/mrbojingle Dec 17 '18 Yes! All my bash aliases are 1-3 chars abbrivations. I also made a nice aliases builder that takes a name and my last run command and sticks a new alias in my bash_aliases file. It's pretty sweet.
1
Are you trying to reinvent bash commands? Cause that's how you get bash commands!
edit:pnctatn
2 u/mrbojingle Dec 17 '18 Yes! All my bash aliases are 1-3 chars abbrivations. I also made a nice aliases builder that takes a name and my last run command and sticks a new alias in my bash_aliases file. It's pretty sweet.
Yes! All my bash aliases are 1-3 chars abbrivations. I also made a nice aliases builder that takes a name and my last run command and sticks a new alias in my bash_aliases file. It's pretty sweet.
5
u/killchain Dec 16 '18
Almost like
npm isntallis a default alias fornpm install.