diff --git a/scripts/new-post.sh b/scripts/new-post.sh index 8c47dc0..290d410 100644 --- a/scripts/new-post.sh +++ b/scripts/new-post.sh @@ -4,7 +4,7 @@ file="$1" -cat << EOF > "$file" +cat << EOF | tee "$file" --- title: $(basename "$file") date: $(date '+%F')