1 2 3 4 5 6 7
#!/bin/bash if [[ `uname` == 'Darwin' ]]; then reattach-to-user-namespace -l bash else exec $SHELL -l fi