From afddd41558a84ed3b402e38ec7b62bba38e71827 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 14 Dec 2021 14:15:28 +1300 Subject: [PATCH 1/1] guess_extension includes dot --- .config/mutt/bgrun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/mutt/bgrun b/.config/mutt/bgrun index ad432df..100fe6c 100755 --- a/.config/mutt/bgrun +++ b/.config/mutt/bgrun @@ -83,7 +83,7 @@ guess_extension() { get_file() { local t if [ -z "$1" ]; then - t=$(mktemp -p "$PWD" tmp.XXXXXXXXXX.$(guess_extension "$MIMETYPE")) + t=$(mktemp -p "$PWD" tmp.XXXXXXXXXX$(guess_extension "$MIMETYPE")) cat > "$t" echo "$t" else -- 2.39.5