#!/bin/bash # # Wrapper for calendar application. # # Parameters BASENAME="`basename $0`" # Check configuration if [ ! -e "$HOME/.custom/muttrc" ]; then mkdir -p $HOME/.custom/mutt touch $HOME/.custom/muttrc touch $HOME/.custom/mutt/aliases fi # Check INBOX if [ ! -e "$HOME/mail/INBOX" ]; then mkdir -p $HOME/mail/INBOX/{cur,new,tmp} fi # Dispatch mutt