about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-11-01 09:34:14 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-11-01 09:34:14 +0000
commit2557464cf55adee5d67ac683f154715854e43312 (patch)
tree10a4a2fba2cc8df9408631a7a146b9ce583e0838 /Functions
parentfb6fd42e00879016660b4f68b0b10d7ff269ae05 (diff)
downloadzsh-2557464cf55adee5d67ac683f154715854e43312.tar.gz
zsh-2557464cf55adee5d67ac683f154715854e43312.tar.xz
zsh-2557464cf55adee5d67ac683f154715854e43312.zip
don't reset just-edited trap function to old value (13107)
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/zed2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/zed b/Functions/Misc/zed
index 68cb33fbe..3cee176a1 100644
--- a/Functions/Misc/zed
+++ b/Functions/Misc/zed
@@ -55,7 +55,7 @@ $(<$dir/$1)
     var="$1() {
 }"
   fi
-  vared var && eval function "$var"
+  vared var && eval "$cleanup ;" function "$var"
 else
   [[ -f $1 ]] && var="$(<$1)"
   while vared var