#!/usr/bin/env bash set -eo pipefail file="$(mktemp)" echo "Editing $file" exec "$EDITOR" "$file"