diff options
Diffstat (limited to 'Functions/Misc')
-rw-r--r-- | Functions/Misc/zed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Misc/zed b/Functions/Misc/zed index 94dd9ce5b..eb8f557ea 100644 --- a/Functions/Misc/zed +++ b/Functions/Misc/zed @@ -69,10 +69,10 @@ fi setopt localoptions nobanghist if ((fun)) then - var="$(functions $expand $1)" + var="$(functions $expand -- $1)" # If function is undefined but autoloadable, load it if [[ $var = *\#\ undefined* ]] then - var="$(autoload +X $1; functions $1)" + var="$(autoload +X $1; functions -- $1)" elif [[ -z $var ]] then var="$1() { }" |