2 ms·
(Heavy alias user. Why are funcions to be prefered over aliases ?)
by cassepipe 4y ago
(Heavy alias user. Why are funcions to be prefered over aliases ?)
- xk_id 4y agoWell 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.html https://www.gnu.org/software/bash/manual/html_node/Aliases.h...