Get the latest tech news

Why “alias” is my last resort for aliases


I prefer scripts to real aliases when defining a custom command.

Aliases are typically for simple things, like running git when you type g. But I have some scripts in~/bin that are a little more complex. I also have a shell function, boop, which makes a sound based on the exit status of the previous command. That makes sense; the computer has to find a file in your$PATH on disk, parse it, and execute it—slower than just running a command it probably stores in memory.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of resort

resort

Photo of aliases

aliases

Related news:

News photo

Trump’s AI Gaza Video Is the Tip of a Horrifying ‘Gaz-A-Lago’ Iceberg | Trump’s comments about turning Gaza into a resort have inspired hellish AI videos and memecoins.

News photo

Dutch cops pwn the Redline and Meta infostealers, leak 'VIP' aliases

News photo

Citadel Helps the Pandas, Larry Ellison’s Resort