X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/a5ab5741acbc36d8f5d8a527639edaad4143f2f8..d60226ed4be8d76d12ee1db8f46ee49de9c3a567:/.mutt/mkconf?ds=sidebyside 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