1 2 3 4
#!/bin/sh [ -z "$MAILER" ] && MAILER=`which mozilla-thunderbird 2> /dev/null` [ -z "$MAILER" ] && MAILER=/usr/bin/xdg-email exec $MAILER $@