=== modified file 'common.zsh' --- common.zsh 2017-11-15 00:20:53 +0000 +++ common.zsh 2017-11-15 00:12:49 +0000 @@ -20,14 +20,14 @@ fpath=( $FUNCDIR $fpath ) for f in $FUNCDIR/*(.); do [[ $f:t =~ '^[-_[:alnum:]]*$' ]] || continue - functions[$f:t]='redo-ifchange $FUNCDIR/'$f:t' && autoload -UXz' + functions[$f:t]='redo-ifchange $FUNCDIR/'$f' && autoload -Uz '$f' && '$f' "$@"' done } decode_args() { typeset -gA vars local arg - for arg in "${(s::Q)${BASE##*/}}"; do + for arg in "${(s::Q)BASE}"; do if [[ "$arg" != *=* ]]; then echo >&2 "Malformed argument: ${(qqq)arg}" exit 1 @@ -124,7 +124,7 @@ if (($#lift)); then # lift %variables from calee to caller local lift_vars arg - for arg in "${(s::Q)$(