change ~ to $HOME in PATH export