1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

20244: fix bug with zed-iting autoloaded functions.

This commit is contained in:
Bart Schaefer 2004-08-10 23:34:58 +00:00
parent f4973986e9
commit 4f5e97a0bf

View file

@ -74,7 +74,7 @@ if ((fun)) then
var="$(functions $1)"
# If function is undefined but autoloadable, load it
if [[ $var = *\#\ undefined* ]] then
autoload +X $1
var="$(autoload +X $1; functions $1)"
elif [[ -z $var ]] then
var="$1() {
}"