-
Notifications
You must be signed in to change notification settings - Fork 213
Z Shell Completion Script
This script will help you if you are using zsh for your shell.
This handles all options/commands documented, and optimizes the file glob behavior for installation from local files or directories.
Note that this is only for zsh, you can't use this on bash or any other shells.
The Completion/Unix directory might be a good place to put it in. (Unix is a directory for general external commands' scripts.)
For Ubuntu, it should be located at:
/usr/share/zsh/functions/Completion/Unix/
Note that you can't change the name of the script, it should be '_' + "command's name".
That's it!
This script focuses on basic completion, so that this does not perform any complicated functions.
All arguments, commands, and options listed in the POD is supported.
See also: cpan-listchanges:Z Shell Completion Script
% man zshcompsys
- The latest code is always located at: rshhh/cpanminus/etc/_cpanm