App-shcompgen
view release on metacpan or search on metacpan
0.30 2016-12-03 Released-By: PERLANCAR
- Detect Getopt::Long::More-based scripts.
0.29 2016-11-03 Released-By: PERLANCAR
- Support Getopt::Std-based scripts.
- [Bugfix] Don't write to bash-completion's dir, use our own dir. In our
loader (_shcompgen_loader shell function installed as complete -D) we
detect whether bash-completion system is active, and if so then we
also search for completion scripts in bash-completion dirs
(/etc/bash_completion.d, /usr/share/bash-completion/completions) in
addition to our dir because there is only one default loader and we
want to support bash-completion. But we also put our completion
scripts into bash-completion dir by default. This means, when
bash-completion is not active, we don't load our own generated
completion scripts. So now, the default for global dir for bash is
/etc/bash/completions instead of /etc/bash_completion.d/ . Note that
this is not an issue in zsh or fish because they have their fpath
mechanism so we don't need to create our own default loader.
0.28 2016-10-28 Released-By: PERLANCAR
- Add shortcut options --zsh, --fish, --tcsh.
- Support Getopt::Long::Descriptive-based scripts.
- Add option --per-option to enable generating prettier completion
scripts when possible.
- Some bug fixes.
0.27 2016-10-26 Released-By: PERLANCAR
- fish: Use general form ('complete -c CMD -a (...)') instead of
defining per-option completion, so now all detectable scripts
work in fish, albeit without highlighted/description of each
option names.
0.26 2016-10-26 Released-By: PERLANCAR
- Re-upload.
0.25 2016-10-26 Released-By: PERLANCAR
- [Enhancement] Support completion for Getopt::Long scripts for all
shells (previously only for fish).
- [Bugfix] list: was empty when shell is not bash
- A couple of other tweaks and fixes.
0.24 2016-10-25 Released-By: PERLANCAR
- No functional changes.
- [doc] Document known issues (zsh, fish, tcsh).
0.23 2016-10-25 Released-By: PERLANCAR
- [Enhancement] Add tcsh support.
0.22 2016-10-25 Released-By: PERLANCAR
- [Enhancement] [Experimental] Add support for zsh.
- [doc] Restore note about 'init' and 'generate' being run during
distribution installation, because shell detection has been modified
(bash is forced).
0.21 2016-10-25 Released-By: PERLANCAR
- Use shell=bash when running under make (detected as bourne).
- [Bugfix] init: didn't create completion scripts dir on fish.
0.20 2016-10-21 Released-By: PERLANCAR
- [Enhancement] Add support for fish shell.
- [Enhancement] Add subcommands (for utility/testing): guess-shell,
detect-prog.
- [doc] Remove note about 'init' and 'generate' being run the first time
it's installed because it doesn't work usually because we detect shell
as 'bourne' under make and bail.
- generate: Add option --stdout.
0.19 2016-07-12 Released-By: PERLANCAR
- [Bugfix] Don't remove completion script we created in the same
run (this fixes e.g. 'shcompgen _hr hr' when hr changes from
Perinci::CmdLine::Lite to Perinci::CmdLine::Inline where
previously the completion script created by processing _hr would
be immediately deleted when hr results in negative).
0.18 2016-07-12 Released-By: PERLANCAR
- [Bugfix] Perinci::CmdLine::Inline-based scripts currently cannot
self-complete.
0.17 2016-04-30 Released-By: PERLANCAR
- Avoid perl undef warning.
( run in 1.754 second using v1.01-cache-2.11-cpan-39bf76dae61 )