blob: 776f9f4cd35f7c87e4071c0cbfafa5aa5d7e2f83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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
|