mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
Julien Jehannet: users/14751: typo in variable name in zed
This commit is contained in:
parent
06b7029aa8
commit
1d31834223
2 changed files with 7 additions and 2 deletions
|
|
@ -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() {
|
||||
}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue