Permalink
Browse files

*never* want to write on my cmd. always use $EDITOR

  • Loading branch information...
1 parent b8f640d commit 1b79554b39ab3432c351eb13883e75d08d09a369 @jzacsh committed Jan 9, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 share/vmail
View
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+email="$(mktemp)"
+
+$EDITOR "$email"
+
+mail "${@}" < "$email"
+
+rm -v "$email"

0 comments on commit 1b79554

Please sign in to comment.