DEV Community

Discussion on: Be more productive with shell aliases

Collapse
 
moopet profile image
Ben Sinclair

With the Git plugin aliases, this workflow takes a lot less work:

To me, that looks like about 15-20% fewer letters to type to do essentially the same commands as before. It has none of the benefits of a script to make the process idempotent, won't work on someone else's computer and looks inscrutable in your shell history.

Looking over your shoulder or pair-programming? I have no idea what gstp does, because it's not something that exists outside of your alias list and I can't easily infer from context. It does something to do with git, but that's as far as I get before I have to add the next line to my cognitive load.

I know why you want to use aliases, and I know they're handy. From mine:

# ahem.
alias gti=git
Collapse
 
easyaspython profile image
Dane Hillard

To each their own, of course! I also use scripts liberally, and make a point to fully type out my commands if I happen to be working with someone else 😊