Restrict some bashrc commands to unix shells