DEV Community

Tom
Tom

Posted on

2

What was my alias again?

Often I found myself looking in ~/.zshrc to find out what alias exactly I have defined for some task. That can be done easier. The bash command alias lists all your aliases. My list of aliases is quite long, so I find my alias this way:

alias | grep some-name
Enter fullscreen mode Exit fullscreen mode

Top comments (2)

Collapse
 
mattother profile image
mattother

Nice tip. Am I the only one that literally read the title of this to the Blink 182 song though? And the fact that your name is Tom was just icing on the cake.

Collapse
 
ludder profile image
Tom

I didn't think of Blink 182 when I wrote that title, but now I can't get the song out of my head ;)

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