-
Notifications
You must be signed in to change notification settings - Fork 214
Z Shell Completion Script
rshhh edited this page Mar 8, 2011
·
15 revisions
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 '_' + "the command's actual name".
rshhh / cpanminus : etc/_cpanm
That's it!
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