summaryrefslogtreecommitdiff
path: root/Functions/Misc/zed
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-12-10 02:27:14 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-12-10 02:27:14 +0100
commit9c2839989762755d67404e6480e53b75156a7261 (patch)
treeedf0d68faa4c6aa5aedf71e40b5243ec746bb1ae /Functions/Misc/zed
parent69f89d9c229be1aeef06c821e161c59481e5d76d (diff)
parentb1f62d9d03cb792115238de55001196f90f3d592 (diff)
downloadzsh-9c2839989762755d67404e6480e53b75156a7261.tar.gz
zsh-9c2839989762755d67404e6480e53b75156a7261.zip
Merge tag 'zsh-5.2-test-3' into debian
Third an "final" test version before 5.3.
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 0ea90c7df..77d392bc3 100644
--- a/Functions/Misc/zed
+++ b/Functions/Misc/zed
@@ -76,7 +76,7 @@ if ((fun)) then
if [[ $var = *\#\ undefined* ]] then
var="$(autoload +X $1; functions -- $1)"
elif [[ -z $var ]] then
- var="$1() {
+ var="${(q-)1} () {
}"
fi
vared -M zed -m zed-vicmd var && eval function "$var"