Commit 40deb795bddd2fddb6b9c5db0bb0fa782b4c2954
1 parent
b69ad8866a
Add completion definition after compinit is run.
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
antigen.zsh
... | ... | @@ -505,6 +505,8 @@ antigen () { |
505 | 505 | |
506 | 506 | # Without the following, `compdef` function is not defined. |
507 | 507 | compinit -i |
508 | + | |
509 | + compdef _antigen antigen | |
508 | 510 | } |
509 | 511 | |
510 | 512 | # Same as `export $1=$2`, but will only happen if the name specified by `$1` is |
... | ... | @@ -530,6 +532,4 @@ _antigen () { |
530 | 532 | help |
531 | 533 | } |
532 | 534 | |
533 | -compdef _antigen antigen | |
534 | - | |
535 | 535 | -antigen-env-setup |