I’ve done something similiar to this over the years for organization purposes and not having to change much between shells except add a path. You can also add cases that check your shell and do something slightly different if needed.

  • QuizzaciousOtter@lemm.ee
    link
    fedilink
    arrow-up
    12
    ·
    20 hours ago

    I have never heard of anyone using aliases for anything but trivial one-liners. I don’t think people consider them as an alternative to scripts so I don’t really get the point of half of this post.

    However, the part explaining the benefits of using scripts over aliases even for trivial one-liners is pretty neat.