compdefs.zsh 486 B

1234567891011121314
  1. #
  2. # Alias compdefs
  3. #
  4. # Any aliased commands will not function with completion without compdefs.
  5. # Because completion is the LAST module to be loaded (so we make sure to catch all completions)
  6. # we must assign the compdefs here, as opposed to within the modules themselves.
  7. # Unfortunately, I'm not aware of a worthwhile way to ensure that these will be included in .zcompdump
  8. # zpacman_frontend -> pacman
  9. if (( ${+zpacman_frontend} )); then
  10. compdef ${zpacman_frontend}='pacman'
  11. fi