aboutsummaryrefslogtreecommitdiff
path: root/etc/ep
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ep')
-rwxr-xr-xetc/ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ep b/etc/ep
index 4be6317..9ee3e69 100755
--- a/etc/ep
+++ b/etc/ep
@@ -3,7 +3,7 @@
# ep -- edit pipe
tmp=`mktemp /tmp/ep.XXXXXX`
+trap "rm $tmp; trap -" INT QUIT EXIT
cat > $tmp
${EDITOR:-vi} $tmp < /dev/tty > /dev/tty
cat $tmp
-rm $tmp