shell: mac support for ~ homebrew