OK, seriously. Make sure you specify a shell grain, otherwise cmd.run executes inside of /bin/sh, which doesn't even load .bashrc.