DEV Community

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

Posted on

1

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)

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.

Collapse
 
davidromero profile image
David Romero

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more