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.

  • whaleross@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    10 hours ago

    Yep. And if you edit it you can reload it with “. ~/.bash_aliases” and if you do it frequently you can create an alias for it.