#!/bin/sh if command -v neomutt >/dev/null; then exec neomutt "$@" else exec $(which -a mutt | grep -v $HOME | head -1) "$@" fi