[bash] Fix PATH setting

The ~ is not expanded inside strings it seems, which resulted in a
literal '~/bin/' in the path.
[bash] Tiny cleanup