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.

  • GustavoM@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Honestly, I’d rather record command and flags instead of relying on aliases to do that for me. Unless if its something very “niche” (like automatically pulling the required third party software everytime the distro boots up on .bash_profile).