Commit Graph

581 Commits

Author SHA1 Message Date
Aaron Schrab ccb53f441f Support newer versions of OpenSSL
With OpenSSL 1.1.0e (likely earlier as well) the `list-*` commands are
no longer supported causing completion to fail for subcommands and
arguments of digest and cipher subcommands.

Instead use the output of `openssl help`, removing the section headers
and splitting the list of commands which that displays.  Earlier
versions don't actually have a `help` subcommand but they did already
produce the same help output for unknown subcommands, just preceded with
an error message about the invalid command. This error message is
removed along with the section headers.

One use of the obsolete `list-cipher-algorithms` subcommand remains, but
it is in the completion for the `genpkey` subcommand which is also
obsolete.
2017-02-27 19:43:31 -05:00
Sergei Eremenko ceaff68d65 Add completion for ffind 2017-02-26 16:33:20 +02:00
Sergei Eremenko 8855715806 Add completion for patool 2017-02-13 20:15:01 +02:00
Robin Schneider 48d620dcb2
Support to find Ansible hosts file in DebOps style projects
In [DebOps](https://debops.org/), it is common to have the Ansible host
inventory in a projects directory below "$HOME". This allows to have multiple
and separate Ansible environments.  For such a setup, the host inventory can be
found at `$PWD/ansible/inventory/hosts` as Ansible is typically executed from
the root of the project.  This patch adds support for such a layout as
fallback.

Ref: https://docs.debops.org/en/latest/debops-playbooks/docs/guides/getting-started.html
2017-02-11 12:23:51 +01:00
Ondřej Svoboda 9a7bf55661 yaourt: support .pkg.tar extension
pacman's completion already supports this extension so just follow suit.

Motivation: makepkg produces packages (e.g. from AUR) without compression
with its PKGEXT='.pkg.tar' setting, which speeds up building and installing
them manually.
2017-01-02 14:10:27 +01:00
Syohei YOSHIDA 8c037ae0e8 Merge pull request #483 from olejorgenb/udisksctl
Completion for 'udisksctl'
2016-12-27 16:50:23 +09:00
Ole Jørgen Brønner 3ae23b8996 udisksctl: Add some notes about the upstream bash completions 2016-12-27 07:53:50 +01:00
Ole Jørgen Brønner 688562c987 udisksctl: Change license to MIT
Fits in a header, less restrictive etc.

See https://github.com/zsh-users/zsh-completions/pull/483
2016-12-27 07:53:36 +01:00
Ole Jørgen Brønner bb32e9eb90 udisksctl: add new/missing command 2016-12-27 07:25:40 +01:00
Syohei YOSHIDA 3bdf1dd44a Merge pull request #481 from olejorgenb/util-linux-column
Completion for 'column' (util-linux)
2016-12-26 11:35:15 +09:00
Ole Jørgen Brønner 01760c8d21 Completion for 'udisksctl'
Salvaged from rejected/ignored patch to upstream by Damir Jelić (poljar) [1].

License is assumed to be gpl2 since it was submitted as a patch to udisks [2].

I tried contacting poljar, but the email address is no longer active.

[1] https://lists.freedesktop.org/archives/devkit-devel/2014-February/001554.html
[2] https://cgit.freedesktop.org/udisks/tree/tools
2016-12-25 08:30:44 +01:00
Ole Jørgen Brønner 2e79ec885b paste: add license header and fixes to auto-generated script
Note: allow multiple '-d' since the tool allow it and then it's an annoying
restriction if one have aliased paste. eg.: alias paste='paste -d ,'
2016-12-25 08:09:34 +01:00
Ole Jørgen Brønner 2f7763e9f2 paste: Autogenerated the easy parts 2016-12-25 07:52:55 +01:00
Ole Jørgen Brønner 53d0e3fea5 Completion for 'column' (util-linux) 2016-12-25 07:46:28 +01:00
Syohei YOSHIDA 2606e51b6a Fix path completion for completing go files in subdirectories 2016-12-22 14:22:02 +09:00
kota65535 75bbd4b155 Fix regex of ansible completion 2016-12-21 18:43:23 +09:00
Claus Klingberg e5bd16f740 Added raw-json field file path support to httpie-completion. 2016-12-18 19:26:52 +01:00
Viktor Haag 6c61261d93 Revert "fix version logic for major version > 0" 2016-12-02 16:32:13 -05:00
Viktor Haag c011691455 version should check > 21, not > 22 2016-12-01 16:03:40 -05:00
Viktor Haag c802f5348b vars need $ prefixes 2016-12-01 14:26:58 -05:00
Viktor Haag 080d0b70f1 updated to use ack completion module style version checking
-- instead of looking at major and minor, we'll do what the ack completion
   module does: produce an x.y version number that we then compare directly to,
   to avoid complicated "if major version OR minor version" checking
2016-12-01 14:18:35 -05:00
Viktor Haag febd404323 fix version logic for major version > 0 2016-12-01 13:59:27 -05:00
Julien Nicoulaud 4c93cb02ec Add completion script for Software Collections (https://www.softwarecollections.org) 2016-11-26 17:45:54 +01:00
Dave Lee 1c4d9c8660 rg: Declare `types` variable before use
Follow-up to https://github.com/zsh-users/zsh-completions/pull/468
2016-11-18 10:58:36 -08:00
Dave Lee 047c265240 rg: declare array variables
Without this, with zsh version `zsh 5.0.8 (x86_64-apple-darwin15.0)`, this error occurs:

    unknown file attribute: \n

For more information see also: https://github.com/rust-lang-nursery/rustup.rs/issues/727
2016-11-17 15:15:24 -08:00
Nico Wagner 41f3e87c39 Added license header 2016-11-12 09:50:29 +01:00
Nico Wagner d820d70234 Add completion script for git-journal 2016-11-05 09:51:12 +01:00
Paul Seyfert 0d5cceb9d4 [_cmake] add CMAKE_MODULE_PATH to common property names 2016-10-30 00:04:49 +02:00
arcizan 06b09147eb Add completion script for ripgrep 2016-10-19 17:01:25 +09:00
Colin Caine 116eebfedb Fix typos in _chattr 2016-10-17 17:36:39 +01:00
nicoulaj 2d1f793d94 Merge pull request #456 from JindrichPilar/trash-cli
Autocompletion for trash-cli
2016-10-16 14:38:25 +02:00
nicoulaj 04f4722da9 Merge pull request #452 from pseyfert/cmake
add --build option to _cmake
2016-10-16 14:37:39 +02:00
nicoulaj a727af2c5c Merge pull request #459 from blueyed/envdir
Add completion for envdir
2016-10-16 14:35:11 +02:00
nicoulaj ac5deec761 Merge pull request #453 from JindrichPilar/afew
Completion for afew
2016-10-16 14:34:56 +02:00
nicoulaj 09ac4b4722 Merge pull request #455 from JindrichPilar/archlinux-java
Completion for archlinux-java
2016-10-16 14:33:59 +02:00
Daniel Hahler c822cd07a5 Add completion for envdir
Ref: https://github.com/jezdez/envdir/issues/54
2016-10-16 14:23:28 +02:00
foudfou b9ab8f5c5c Add `config` and `export` commands to _rkt. 2016-10-15 16:58:47 +02:00
Jindrich Pilar d7b0bc8fb2 Manualy reformated trash-cli 2016-10-09 11:13:27 +02:00
Jindrich Pilar 8d643ceaa5 Manualy reformated _afew 2016-10-09 10:39:42 +02:00
Jindrich Pilar 9c17dea89a Manually reformated _archlinux-java 2016-10-09 10:37:21 +02:00
Jindrich Pilar 116c85a7d7 Completion for trash-restore 2016-10-09 08:51:19 +02:00
Jindrich Pilar d9fc96f6a3 trash-put and trash have same competion 2016-10-09 08:45:22 +02:00
Jindrich Pilar 76a62e82f9 Completion for trash-empty 2016-10-09 08:43:02 +02:00
Jindrich Pilar b1b04b8d1a Completion for trash-list 2016-10-09 08:41:21 +02:00
Jindrich Pilar fffe5f114f Completion for trash-put 2016-10-09 08:38:50 +02:00
Jindrich Pilar 90662e912f Added long options into _afew 2016-10-08 17:42:41 +02:00
Jindrich Pilar a98235687e Added meta info snippet into _afew and reformated 2016-10-08 17:37:00 +02:00
Jindrich Pilar 6db432153e Added snippet into _archlinux-java and reformated 2016-10-08 17:35:57 +02:00
Jindrich Pilar 3c98c2d308 Completion for archlinux-java
Completion script for archlinux-java a tool for selecting default Java runtime (https://wiki.archlinux.org/index.php/java)
2016-10-07 18:22:16 +02:00
Jindrich Pilar 62592134de Completion for afew
Completion script for afew an initial tagging script for notmuch
mail.(https://github.com/teythoon/afew)
2016-10-06 18:40:35 +02:00