Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
caveats: Differentiate zsh completion files and function files #1616
When installing a file to zsh/site-functions directory, it is assumed this is a zsh completion file,
But not all files in the zsh/site-functions directory are completion files.
@zachwhaley To make a core change we'll probably want a few example projects rather than just your personal one. Could you link to a few? Thanks!
Honestly, I don't think I'll be able to find a lot of examples for this, outside of zsh specific programs.
This PR and PR #1615 were created from issue #1594 and the discussion there.
Since I thought these changes wouldn't be very big, I thought I might as well give it a try :)
referenced this pull request
Dec 8, 2016
I did manage to find some packages that could utilize this.
Here are a list of packages that install a zsh script to some location on the system, and then ask the user to source that file, when instead they could install those scripts to
(I was honestly surprise to find this many packages that weren't using zsh's autoload btw