Hacker News new | ask | show | jobs
by xelxebar 3184 days ago
One way around that issue is to prefix commands you intend to share with backslash:

    $ \gstatus
    gstatus: command not found
vs

    $ gstatus
    git status stuff
The backslash just disables alias expansion. This works on all shells I'm aware of. It won't help with other portability concerns like actual missing commands though, of course.