X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/a5ab5741acbc36d8f5d8a527639edaad4143f2f8..1b9cf1779687fd3d3638c0ac3bb0d7c331508cd0:/.mutt/mkconf?ds=inline diff --git a/.mutt/mkconf b/.mutt/mkconf index c16c254..e98a9e1 100755 --- a/.mutt/mkconf +++ b/.mutt/mkconf @@ -1,7 +1,7 @@ #!/bin/sh set -eu -FILE="${1:-}" +FILE="${1:-${0%/*}/confvars}" TARGET="${2:-}" if [ ! -f "$FILE" ]; then @@ -62,9 +62,11 @@ cat <<_eof > "$TARGET" # Auto-generated using mkconf from manual.txt # on $(date +'%Y-%m-%d %H:%M:%S') # -# Invoked as: $0 $@ +# Invoked as: $0${1:+ $@} # $(cat "$TMPFILE") + +# vim:sw=12:noet:sts=12:ts=12:ft=muttrc _eof cleanup