function mc () {
echo "You want to launch Midnight Commander, or \"mv\" ? [Y|N|mv]"
read sure
case $sure in
        Y|y)  command mc $* ;;
        N|n)  return 0 ;;
        mv)   mv $* ;;
        *)    return 0 ;;
esac
}

# export functions
export -f mc

