mblaze/contrib/mpeek
Ivy Foster ca8cef1660 Add $MBLAZE environment variable to set profile location
As a side benefit, all callers of blaze822_home_file need only pass
the filename, so the base directory is set in only one place.
2016-09-01 18:50:20 -05:00

12 lines
173 B
Bash
Executable File

#!/bin/sh
# mpeek - wrapper around mscan with a different seq
export MAILSEQ=${MBLAZE:-$HOME/.mblaze}/peek.seq
if [ -t 0 ]; then
mseq "$@"
else
mseq -S | mscan "$@"
fi