DEV Community

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

Posted on Edited 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?

Top comments (3)

🔥 ข่าวด่วน: rafi/what aliases and scripts do you use n - Kapook Update 2025
 
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 :)

🔥 ข่าวด่วน: rafi/what aliases and scripts do you use n - Kapook Update 2025
 
rafi993 profile image
Rafi •

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

🔥 ข่าวด่วน: rafi/what aliases and scripts do you use n - Kapook Update 2025
 
davidromero profile image
David Romero •

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