Commit dbdac1aad8d2cec5b604b2afb538b074f1f72c44
Committed by
Shrikant Sharat
1 parent
5e23ab6fec
process deferred compdefs in the order they were called
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
antigen.zsh
... | ... | @@ -9,7 +9,7 @@ local _ANTIGEN_INSTALL_DIR="$(dirname $0)" |
9 | 9 | |
10 | 10 | # Used to defer compinit/compdef |
11 | 11 | typeset -a __deferred_compdefs |
12 | -compdef () { __deferred_compdefs[$(($#__deferred_compdefs+1))]=$* } | |
12 | +compdef () { __deferred_compdefs=(${__deferred_compdefs} "${*}") } | |
13 | 13 | |
14 | 14 | # Syntaxes |
15 | 15 | # antigen-bundle <url> [<loc>=/] |