Properly replace ~ with $HOME in all paths. Fix tab completion when passing a path starting with ~ to pmaports: $ pmbootstrap --aports ~/src/pmaports/ build linux-<TAB>