DEV Community

Cover image for What aliases and scripts do you use?
Rafi
Rafi

Posted on

What aliases and scripts do you use?

As developers we use a lot of alias and small scripts to automate boring stuff. Here is my commonly used alias and scripts. What do you use?

Latest comments (3)

Collapse
 
davidromero profile image
David Romero

alias c=clear
alias g=git
alias p=ping
alias s=ssh
alias m=mvn
alias n=nvim

Collapse
 
moopet profile image
Ben Sinclair

I only use a couple, because I'm not overly keen on aliases.
I use them for cosmetic things, like alias pacman='pacman --color=always'. That's safe, because it's not changing the way I would expect pacman to work on my system, a foreign system or in a shell script.
I also have a couple of hyper-specific things that I put in aliases just because they're too small to bother with making into scripts :)

Collapse
 
rafi993 profile image
Rafi

I did not know about --color option in pacman it is cool.