more osx.sh commands; added shopt histappend