Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well my comment was actually a reference to the manual [0].

But I agree with it, because aliases are just a string substitution for interactive shells, so they are limited. I found that I often end up wanting to add additional logic (such as arguments or local variables) and to have it available for use in scripts later.

[0] https://www.gnu.org/software/bash/manual/html_node/Aliases.h...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: