Skip to content

Commit

Permalink
Merge pull request #460 from psprint/%x-prompt-expn
Browse files Browse the repository at this point in the history
fix: assign to functions hash to enable `%x`
  • Loading branch information
vladdoster authored Feb 13, 2023
2 parents c9c8a10 + bd65a01 commit b5338e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zinit.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,11 @@ builtin setopt noaliases
retval=$?
}
} else {
eval "function ${(q)func} {
functions[$func]="
local -a fpath
fpath=( ${(qqq)PLUGIN_DIR} ${(qqq@)fpath_elements} ${(qqq@)fpath} )
builtin autoload -X ${(j: :)${(q-)opts[@]}}
}"
"
retval=$?
}
else
Expand Down

0 comments on commit b5338e0

Please sign in to comment.