about summary refs log tree commit diff
path: root/Functions/Misc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-01-29 20:58:43 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-01-29 20:58:43 +0000
commit1d31834223066694e2859f8ff8c84e22ae613810 (patch)
tree11ce1c9a50395f909ed790fc1dfe420d4bd756d7 /Functions/Misc
parent06b7029aa8c06310135734c646ba795772f973bb (diff)
downloadzsh-1d31834223066694e2859f8ff8c84e22ae613810.tar.gz
zsh-1d31834223066694e2859f8ff8c84e22ae613810.tar.xz
zsh-1d31834223066694e2859f8ff8c84e22ae613810.zip
Julien Jehannet: users/14751: typo in variable name in zed
Diffstat (limited to 'Functions/Misc')
-rw-r--r--Functions/Misc/zed2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/zed b/Functions/Misc/zed
index b43b44b6b..2a3d2313e 100644
--- a/Functions/Misc/zed
+++ b/Functions/Misc/zed
@@ -74,7 +74,7 @@ if ((fun)) then
   var="$(functions $1)"
   # If function is undefined but autoloadable, load it
   if [[ $var = *\#\ undefined* ]] then
-      ar="$(autoload +X $1; functions $1)"
+    var="$(autoload +X $1; functions $1)"
   elif [[ -z $var ]] then
     var="$1() {
 }"