Commit Graph

810 Commits

Author SHA1 Message Date
veloute 725c65cc4c
Update _ufw to add 'prepend' command 2019-07-28 06:48:08 +00:00
Oleksii Filonenko c5a45e3e3f
Add completion for inxi
https://github.com/smxi/inxi
2019-07-21 12:27:32 +03:00
Paul Seyfert e73235f0df [golang] unify package completion for build and run
* let both `go build` and `go run` suggest local files and dirs with
   `go build ./something`
 * let both suggest package identifiers
   `go build github.com/username/reponame`
 * automatically prefix relative paths with './'
   `go build file<TAB>` → `go build ./file.go`
2019-07-18 23:07:32 +02:00
Julien Nicoulaud b512d57b6d
#610: add compdef for concourse 5.2.0 (https://concourse-ci.org) 2019-06-18 19:55:11 +02:00
Julien Nicoulaud 303c6c532d
Merge pull request #638 from dark-panda/fix-pg-createuser
Fix a syntax error on the PostgreSQL `createuser` utility
2019-06-18 19:51:08 +02:00
Julien Nicoulaud 2f2cca8db9
Merge pull request #637 from pseyfert/cmake_generator_variable
[cmake] complete CMAKE_GENERATOR environment variable values
2019-06-18 19:50:41 +02:00
Julien Nicoulaud be210396fa
Merge pull request #636 from pseyfert/cmake_launch
provide CMAKE_<LANG>_COMPILER_LAUNCHER in cmake completion
2019-06-18 19:46:32 +02:00
Julien Nicoulaud c4e71acece
Merge pull request #635 from laggardkernel/fix-vagrant
hardcode location of command stat for macOS
2019-06-18 19:45:43 +02:00
Julien Nicoulaud 3ffe3e2cc5
Merge pull request #634 from Shivamgupta1234/master
Completion function for nano editor!
2019-06-18 19:44:40 +02:00
J Smith 2ab70accf4 Fix a syntax error on the PostgreSQL `createuser` utility 2019-06-14 16:12:15 -03:00
Paul Seyfert 1c41bbef29 [cmake] complete CMAKE_GENERATOR environment variable values
will be introduced in cmake 3.15
https://cmake.org/cmake/help/v3.15/manual/cmake-env-variables.7.html#environment-variables-that-control-the-build
2019-06-13 14:13:32 +02:00
Paul Seyfert 90aab6796d provide CMAKE_<LANG>_COMPILER_LAUNCHER in cmake completion
https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_LAUNCHER.html
2019-06-12 15:36:10 +02:00
laggardkernel facb6f40fb hardcode location of command stat for macOS
Hardcode /usr/bin/stat to bypass stat from coreutils.
2019-06-03 23:28:05 +08:00
Shivamgupta1234 ae17c53a4b
Update _nano 2019-06-01 09:29:00 +05:30
Shivamgupta1234 3cf94eef32
minor suggested changes
1.remove license header,
2.remove top level nano() function,
3.remove _nano_file_ function.
2019-06-01 07:13:44 +05:30
Shivamgupta1234 46666e519a
Add completion for nano editor! 2019-05-31 08:16:15 +05:30
Shivamgupta1234 d06d3f75a5
Add completion for nano editor! 2019-05-31 08:14:42 +05:30
Julien Nicoulaud 4f939ade9a
Merge pull request #628 from cuspymd/pm2
Add pm2 completion
2019-05-26 19:45:18 +02:00
Julien Nicoulaud 95e107f1bb
Merge pull request #626 from yous/git-flow-status
git-flow: remove non-existing subcommand
2019-05-26 19:44:27 +02:00
Julien Nicoulaud fe6c149653
Merge pull request #632 from pseyfert/gotest
add options for 'go test -test.'
2019-05-26 19:42:22 +02:00
Julien Nicoulaud b585ff1f2f
#618: delete rvm, it is already provided by upstream project (https://github.com/rvm/rvm/blob/master/scripts/extras/completion.zsh/_rvm) 2019-05-26 19:33:28 +02:00
Julien Nicoulaud 5b5e9fda12
add completion for fwupdmgr 1.2.9 (https://github.com/hughsie/fwupd) 2019-05-26 19:09:03 +02:00
Julien Nicoulaud d1c0b5d50d
add completion for kitty 0.14.0 (https://sw.kovidgoyal.net/kitty) 2019-05-26 19:08:35 +02:00
Paul Seyfert a879b3b23e add options for 'go test -test.' 2019-05-18 16:06:12 +02:00
Myoungdo Park ba7ae00cce Add pm2 completion 2019-03-23 06:06:37 +09:00
Chayoung You bdb5503c95
git-flow: remove non-existing subcommand
git-flow calls a subcommand based on filename, see
15aab26490/git-flow (L91-L97).
But git-flow-status doesn't exist on git-flow repository.
2019-03-12 14:15:35 +09:00
Segev Finer 5f5d2bb51c
Remove a bad space in _golang 2018-12-02 16:09:57 +02:00
kiendang bc1dbe6b02 Update medium related commands for VBoxManage 2018-11-17 10:05:47 +08:00
nicoulaj 570a0dfb73
Merge pull request #608 from zsh-users/cleanup
Delete some compdefs that have been included in zsh
2018-11-12 19:06:01 +01:00
nicoulaj 084d60da5a
Merge pull request #609 from mqus/patch-1
Add _nft (iptables successor) completion
2018-11-12 19:05:04 +01:00
Markus Richter 28679cf7c3 remove last expl[@] strings and replace them with the generic "$@" 2018-11-06 20:56:19 +01:00
Markus Richter 6eda4d8276 fix family/handle/table completion, remove uneccessary expl 2018-11-06 00:54:25 +01:00
nicoulaj 5fdcec1bef
Merge pull request #547 from tony/improve-tmuxp-load
improve tmuxp load completions
2018-11-05 19:55:01 +01:00
Markus Richter ecd02cf5ba renamed file, documented some more functions 2018-11-05 16:37:10 +01:00
Markus Richter 0f0b1d8184 add fixes suggested by okapia and some more 2018-11-04 23:05:08 +01:00
Markus Richter 9aaf2e64fb Add description/author header 2018-11-04 15:11:45 +01:00
mqus d4d55235da
Add _nft (iptables successor) completion
Some things to note here:
1.: There are bugs in the code as I'm no expert on zsh completion *at all*. I just trial-and-error'd a big part of it.
2.: Some things are not done here (marked with a `TODO`), namely the statement syntax of some `nft add` commands.
3.: Some completions try to complete existing chain names/rule handles/table names. For this you either have to be root or use sudo AND enable the gain-privileges zstyle (otherwise this will not work)
4.: I also found the nft man page to be somewhat lacking so there might be some edge case completions which are plain wrong.
2018-11-04 15:01:52 +01:00
Julien Nicoulaud f8cede57f0
_ansible in zsh replaces all our _ansible* compdefs 2018-11-04 14:41:31 +01:00
Julien Nicoulaud 9edc47d5a3
Delete some compdefs that have been included in zsh (thanks @okapia)
Command used, on a zsh 5.6.2 installation:

    for def in src/*; { [[ -n $(find /usr/share/zsh/functions -name ${def:t}) ]] && git rm $def }

Closes #607
2018-11-04 14:36:19 +01:00
Julien Nicoulaud c614accc90
#605: conan: fix plural form confusion 2018-11-04 14:34:53 +01:00
Edhebi 5f34afa1bf
Follow to PR #601: still one type
The previous PR#601 fixed "compabilty" on 3 lines over 4. The PR fixes the last one
2018-10-25 09:57:30 +02:00
Julien Nicoulaud 8ec8c8c5c6
tox: fix function not defined first time completion is called + simplify it 2018-10-24 20:32:56 +02:00
nicoulaj ddda39de92
Merge pull request #600 from pseyfert/golang
[golang] add buildmode completion
2018-10-24 19:58:49 +02:00
Edhebi 4c700530b7
Fix typos
Fixing "compabilty" to "compatibility"
2018-10-18 00:42:31 +02:00
Paul Seyfert b03195e636 [golang] add buildmode completion
add the build modes from `go help buildmode` to the completion of
`go build -buildmode <TAB>`
2018-10-16 21:27:01 +02:00
nicoulaj 84a820a798
Merge pull request #588 from Eisfunke/master
Add completion script for wireguard's wg-quick
2018-10-13 23:45:08 +02:00
Julien Nicoulaud c299511237
#505: pg_restore accepts a file 2018-10-13 23:39:52 +02:00
Julien Nicoulaud 9a0dde3d49
#595: chromium can open files too 2018-10-13 23:33:24 +02:00
Julien Nicoulaud 02479c2fb0
#533: fix command positional substitution arguments conflicting with options 2018-10-13 23:23:34 +02:00
Julien Nicoulaud 4235fe5d69
#533: add tox completion 2018-10-13 23:07:51 +02:00
Mikkel Oscar Lyderik Larsen 3875707119
Update completetions for Go 1.11
Updates the completions for Go 1.11 which introduced a new `go mod`
command.

https://groups.google.com/forum/#!topic/golang-announce/O7POXMK3xbM

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2018-09-04 09:31:23 +02:00
Paul Seyfert 34e36dfc9b fixup based on review comment 2018-08-29 20:29:06 +02:00
Paul Seyfert c0eedafd93 use CPPFLAGS completion for CMAKE_CXX_FLAGS completion
cmake -DCMAKE_*_FLAGS*=<TAB>
will invoke _gcc as if one completes
export CPPFLAGS=<TAB>

Given that _gcc doesn't distinguish between CFLAGS, CPPFLAGS, or
CXXFLAGS, neither do we here.
2018-08-29 20:26:38 +02:00
okapia c97cb23593
Merge pull request #590 from daboross/patch-1
Fix kakoune completion not providing a description argument to _values
2018-08-29 16:19:33 +02:00
Nicolas Lenz c4587d5cf7 Use built-in _path_files instead of sed 2018-08-26 21:16:26 +02:00
Nicolas Lenz b97156b51e Fix typo in wg-quick 2018-08-26 20:35:37 +02:00
David Ross 9a215c194c Replace _values with compadd, and other cleanup recommended
Thanks @okapia!
2018-08-25 17:37:09 -07:00
Julien Nicoulaud 955645c22b
add conan completion (work in progress) 2018-08-26 01:08:15 +02:00
Julien Nicoulaud 8e5db9fcb1
#562: rclone now ships its own completion (f1f7e0e6f9) 2018-08-26 01:07:30 +02:00
nicoulaj f3b38922bf
Merge pull request #568 from kapsh/glances
glances: update existing arguments
2018-08-26 00:58:51 +02:00
nicoulaj 69d7166518
Merge pull request #572 from pseyfert/iwyu
WIP: adding include-what-you-use completion
2018-08-26 00:55:42 +02:00
nicoulaj 55bedff245
Merge pull request #584 from grimreaper/eax/completion/macports_port_add_select
_port: add some missing values
2018-08-26 00:47:12 +02:00
nicoulaj 3924ee7cc4
Merge pull request #583 from Robinhuett/ecdsautil
Added ecdsautils
2018-08-26 00:47:02 +02:00
nicoulaj 577e98372e
Merge pull request #579 from ybiquitous/update-nodejs-completion
Update Node.js completion to fit latest version
2018-08-26 00:43:06 +02:00
nicoulaj 94ad3f32ba
Merge pull request #576 from pseyfert/ccache
add ccache completion
2018-08-26 00:39:37 +02:00
nicoulaj 94e1d2be9b
Merge pull request #575 from ssiegel/improve-ansible-completion
Improve ansible completion
2018-08-26 00:37:58 +02:00
nicoulaj eec18e681e
Merge pull request #570 from pseyfert/chromium
adding completion function for chromium (the browser)
2018-08-26 00:28:19 +02:00
nicoulaj df4a398d0c
Merge pull request #565 from NiKoTron/master
add flutter.io cli tool completions
2018-08-26 00:19:53 +02:00
nicoulaj 742d2f1c08
Merge pull request #564 from Madh93/add-more-rspec-completions
Add more RSpec completions
2018-08-26 00:16:45 +02:00
nicoulaj 1a7b8f486c
Merge pull request #550 from wadewegner/master
Added support for the Salesfore CLI
2018-08-26 00:16:21 +02:00
David Ross c059bbdfe6
Fix kak_sessions not sending _values enough arguments
Using zsh 5.4.2, I am occasionally running into an error "_values:compvalues:11: not enough arguments". When it doesn't occur, instead, one of the kakoune sessions does not appear as part of autocompletion.

This fixes both problems for me by providing a description as described in http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System. "The first non-option argument is used as a string to print as a description before listing the values. "
2018-08-25 14:56:06 -07:00
Fabian Winter 8c08f6396c hledger: Add completions for all commands and parameters 2018-08-07 17:53:56 +02:00
Eisfunke 639d209d62 Add completion script for wireguard's wg-quick 2018-08-04 15:23:07 +02:00
Fabian Winter 07b4d49b18 hledger: Fix syntax errors 2018-07-30 17:15:10 +02:00
Fabian Winter c66a6b1c27 Update hledger completion
There have been some changes in the last four years. I included what
seemed to me the most important commands and parameters.
2018-07-29 19:55:43 +02:00
Fabian Winter e1273aa5b5 Re-add hledger completion
Thanks to @Valodim, who licenced their old completion under Apache 2.0,
as written in #585
2018-07-29 19:55:43 +02:00
Eitan Adler 4b1e7502fd _port: add some missing values 2018-07-04 20:13:39 -07:00
Robinhuett 5c3264b391 Added ecdsautils 2018-06-28 10:43:01 +02:00
Paul Seyfert 2527ac9c03 shift words array before passing from _cmake to build tool
* this fixes #581
2018-06-25 14:49:03 +02:00
Paul Seyfert 9f5c2796d7 last bit of ccache 2018-06-19 16:40:48 +02:00
Paul Seyfert 0b151f1749 add actual arguments for ccache completion 2018-06-19 16:40:48 +02:00
Paul Seyfert 66f1f211b9 start environment variable completion 2018-06-19 16:40:48 +02:00
Paul Seyfert 543c22cb63 add ccache completion 2018-06-19 16:40:48 +02:00
okapia d3a273cedf
Merge pull request #577 from pseyfert/c_standards
extend cmake completion
2018-06-18 14:59:24 +02:00
okapia 5bf2eeb6de
Merge pull request #546 from pseyfert/cmake_module_path
add CMAKE_PREFIX_PATH to cmake completion
2018-06-18 14:59:12 +02:00
okapia dd540537ba
Merge pull request #544 from pseyfert/cmake_options
extend cmake completion
2018-06-18 14:58:58 +02:00
Oliver Kiddle 4b2d83c18b Remove completions that zsh itself includes
Zsh has included completions for paste, scl, ssh-copy-id and virsh
for a number of releases now.
2018-06-18 14:49:53 +02:00
Masafumi Koba 18db5b0611 Update Node.js completion to fit latest version
Remove old Node.js CLI options:

- `--max-stack-size`
- `--vars`

See also [Node.js doucmentation](https://nodejs.org/api/cli.html).
2018-06-18 11:10:51 +09:00
Stefan Siegel 32875bed4b Improve ansible completion
Allow stacked/merged and repeated/incremental options
2018-06-12 01:17:23 +02:00
Paul Seyfert 1b4d48ef8f allow multiple imp files and add directories to .imp completion 2018-06-01 19:27:36 +02:00
Paul Seyfert 7d963814db suggest -Xiwyu more than once to include-what-you-use 2018-05-31 17:27:22 +02:00
Paul Seyfert 264856830f adding rough version of include-what-you-use completion 2018-05-29 15:59:37 +02:00
Paul Seyfert fc44d851ea adding completion function for chromium (the browser) 2018-05-21 11:04:05 +02:00
Serge Bibauw ff73f4064f
yarn: rename clean to autoclean, add description for certain commands
- `clean` has been renamed to `autoclean` (https://github.com/yarnpkg/rfcs/pull/52)
- added description (from `yarn help [command]`) to `cache`, `import` and `versions`
2018-05-02 15:22:48 +02:00
Alexander Kapshuna 01c8d6282e glances: update existing arguments 2018-04-30 21:28:43 +03:00
NiKoTron 5e1439f17e add flutter.io cli tool completions 2018-04-22 02:16:07 +03:00
Madh93 399dd48d22 Add more RSpec completions 2018-04-18 22:57:45 +01:00
Rob Speed 95ed61ffc2 DOCS: Fix references to "macOS" as "OS X", "Mac OS X", etc.
Apple renamed "Mac OS X" to "macOS" in 2016.

* Replace instances of "OSX"/"OS X"/etc. with "macOS" in comments to reflect the change.
* There are additional references to things like "osx" in functional code which are left unchanged.
* Grammatical changes due to the initial letter changing from a vowel to a consonant (o => m) in some places.
* Fix a unrelated minor grammatical issue.
2018-03-31 17:35:11 -04:00
James Short 9362cc2e82 Rename go completion to not collide with zsh file.
There is a _go file in the zsh functions directory that would be found
first if you use OMZ with zsh-completions.  This is an ancient file in
zsh and does not complete for the go executable either, but it is still
there on typical zsh distributions.

This change makes it such that zsh/OMZ/zsh-completions can work in
harmony, if one so chooses.
2018-03-16 14:35:18 -07:00
Tony Narlock 4508695cb2 improve tmuxp load completions
1. Limit wildcard json/yaml file matches to current directory
2. Preserve all directory completion (for tabbing into directories)
3. Use unlimited depth search for directories with .tmuxp.(yaml/json)
   inside them. tmuxp load command can load the file or the directory.
2018-03-14 10:32:03 -05:00