about summary refs log tree commit diff
path: root/Functions/Misc/zed
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Misc/zed')
-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