Commit Graph

867 Commits

Author SHA1 Message Date
Shohei YOSHIDA 195bdb40c7 Set description for all options 2020-05-08 08:42:05 +09:00
Shohei YOSHIDA 4817a6afba Update yarn command line options 2020-05-08 07:48:34 +09:00
Shohei YOSHIDA 41828e2df4
Merge pull request #706 from syohex/syohex/add-protoc
Add protoc compdef
2020-04-24 20:53:14 +09:00
Shohei YOSHIDA e6eb268a07 Improve node inspect completion
It should be completed only after 'node'
2020-04-23 21:31:49 +09:00
Shohei YOSHIDA 9f5aa05a75 Update node completion to v14 2020-04-22 23:41:36 +09:00
Shohei YOSHIDA 376c51ca59 Add protoc compdef 2020-04-22 23:12:27 +09:00
Shohei YOSHIDA d4e54f1e04
Merge pull request #660 from jubnzv/cppcheck-compdef
Add cppcheck support
2020-04-17 20:54:06 +09:00
Shohei YOSHIDA 7e614ffb9a Don't use _git private functions
Use own function instead
2020-04-17 13:45:58 +09:00
Dimitris Apostolou 9e9bee7066
Fix typos 2020-04-09 11:51:09 +03:00
Shohei YOSHIDA 578d1d59c2
Merge pull request #697 from dancek/git-revise
Add completion for git-revise
2020-04-08 23:20:19 +09:00
Hannu Hartikainen bb376aee80 Add completion for git-revise 2020-04-08 15:53:05 +03:00
Shohei YOSHIDA 6e16420828 Add flameshot completion 2020-04-04 09:44:15 +09:00
Shohei YOSHIDA 72b1b8f8c1
Merge pull request #696 from nfischer/feat-emulator-avd-completion
Add avd completion to _emulator
2020-03-31 00:57:06 +09:00
fanquake 0b2d06f012
Update _bitcoin-cli completion for v0.19.1 2020-03-30 11:21:09 +08:00
Nate Fischer 99780ec53d
Add avd completion to _emulator
This resolves a TODO in _emulator by adding completion for AVD names.
This adds completion for "-avd" as well as the special "@AVD_NAME"
syntax for non-option arguments.
2020-03-28 13:34:20 -07:00
Shohei YOSHIDA dc00f90ff7 Complete also package name 2020-03-26 00:26:56 +09:00
Shohei YOSHIDA 78d8744642 Complete local file 'yarn add'
Complete local file if 'file:' or 'link:' is specified
2020-03-25 00:05:14 +09:00
Shohei YOSHIDA d9690b1a67 Fix regexp which collects subcommands
fix: https://github.com/zsh-users/zsh-completions/issues/677
2020-03-24 01:38:18 +09:00
Shohei YOSHIDA dcd7c63c3e Update node completion v12.16 2020-03-22 22:13:35 +09:00
Shohei YOSHIDA b9256a9942 Complete only .log file if --prof-process is specified
Fixes: https://github.com/zsh-users/zsh-completions/issues/633
2020-03-21 18:06:04 +09:00
Shohei YOSHIDA dddbea879b
Merge pull request #676 from pseyfert/cmake_unity
[cmake] updates for cmake 3.16
2020-03-20 12:05:53 +09:00
Shohei YOSHIDA 724cb01511
Merge pull request #678 from v1z4/master
Add file completion to `mix format`
2020-03-20 12:05:33 +09:00
Shohei YOSHIDA d1d7e6eefa
Merge pull request #679 from dark-panda/add-pg-completions
Add additional PostgreSQL completions for PostgreSQL 12+
2020-03-20 12:05:10 +09:00
Nate Fischer a71b924b83
Add more options for Android emulator completion
This adds several options to _emulator:

* -list-avds
* -writable-system
* -cores
* -accel
* -no-accel
* -help entries for each of the above

Issue #41
Test: loaded this plugin and tested tab completion on these options,
messages seem fine
2020-03-18 22:45:42 -07:00
J Smith f46ec9befb Add additional PostgreSQL completions for PostgreSQL 12+ 2020-02-13 14:31:02 -04:00
Vizakenjack 7455d602a4 Added file completion 2020-01-22 12:15:50 +03:00
vaporwavy a6e641b977 Fix typo in _cmake (#672) 2020-01-17 14:39:12 -08:00
Maxim Devoir 493984e7f1
Yarn | cross-platform sed replacement pattern newline solution (#666)
Some sed utilities (e.g. Mac OS / BSD) don't interpret `\n` in a replacement pattern as a newline.
2020-01-17 13:22:00 -08:00
Marc Cornellà e32536a208 _yarn: fix parsing of yarn run on scripts containing } (#668)
Fixes #667
2020-01-17 12:54:37 -08:00
Paul Seyfert 4bf0ed4049 cmake: new command line options 2020-01-01 15:19:08 +01:00
Paul Seyfert 2b34796cb6 cmake: add CMAKE_UNITY_BUILD variable 2020-01-01 11:49:32 +01:00
Sebastian Gniazdowski a9d0a2cda6 Completion for Midnight Commander (`mc' command) 2019-11-01 17:18:54 +01:00
Georgy Komarov 1eb4759854 better completion with filetypes 2019-10-24 17:01:08 +03:00
Georgy Komarov f6eff10118 Add cppcheck support 2019-10-23 22:46:30 +03:00
nicoulaj 8def5f1583
Merge pull request #655 from danteu/cmake_add_parallel
cmake: Add `--parallel` build option
2019-10-08 18:55:29 +02:00
nicoulaj 87e131334f
Merge pull request #653 from MaximDevoir/feat/improve-yarn-suggestions
YARN | Improve suggestions for `yarn run` command
2019-10-08 18:54:55 +02:00
nicoulaj bbc8bada78
Merge pull request #654 from bondz/patch-1
Add --latest flag for yarn upgrade-interactive
2019-10-08 18:53:55 +02:00
Maxim Devoir c9b335769c
revert: suggest binaries on `yarn`
This behavior is the same as before c6bdbc69e1
2019-10-07 12:14:10 -07:00
Daniel Teunis 4b5da4cbe0 cmake: Add `--parallel` build option 2019-10-07 00:25:06 +02:00
Chih-Hsuan Yen 0d8db2fb32
_port: add new subcommands 'bump', 'diagnose' and 'reclaim'
Subcommand descriptions are from upstream man pages [1][2][3].

[1] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-bump.1.txt
[2] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-diagnose.1.txt
[3] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-reclaim.1.txt
2019-10-04 17:58:55 +08:00
Bond 21aa84dba2
Add --latest flag for yarn upgrade-interactive 2019-10-03 05:05:46 +01:00
Marc Cornellà a47b58ef97
Parse script commands without `jq`
Source from https://github.com/robbyrussell/oh-my-zsh/pull/8118#issuecomment-537484017
2019-10-02 07:42:15 -07:00
Maxim Devoir c6bdbc69e1
Separate project scripts from binary packages
If `jq` utility is installed:

- Suggests script names from `package.json` and their associated script

Following [this feedback](https://github.com/robbyrussell/oh-my-zsh/pull/8118#issuecomment-537148142), binaries will always be suggested.
2019-10-02 02:47:13 -07:00
okapia 922eee0706
Merge pull request #651 from jordanrastrick/yarn-script-file-completion
fall back to file completion for yarn scripts
2019-10-01 08:39:33 +02:00
Jordan Rastrick 4add7f4dfb
Improve _yarn changes
Use `_default` instead of `_files` and don't unnecessarily wrap with `_arguments`
2019-10-01 12:50:37 +10:00
Lucas Bearden ed44d39efa added in missing option --edit 2019-09-27 23:10:35 -04:00
Jordan Rastrick 1000d2ea8b
fall back to file completion for yarn scripts 2019-09-26 16:59:14 +10:00
Julien Nicoulaud a3fab81aec
#647: remove kitty completion, upstream provides one 2019-09-20 21:41:28 +02:00
nicoulaj ef31690c88
Merge pull request #646 from pseyfert/golang1.13
[golang] prepare for golang 1.13 updates
2019-09-20 21:27:15 +02:00
nicoulaj 40c6c768ea
Merge pull request #645 from lzutao/rm_multirust
Remove _multirust which is replaced by rustup
2019-09-20 21:26:28 +02:00
nicoulaj a9704678f8
Merge pull request #644 from veloute/patch-1
Update _ufw to add 'prepend' command
2019-09-20 21:26:03 +02:00
nicoulaj 9a461c7c9d
Merge pull request #643 from filalex77/add-inxi-completion
Add completion for inxi
2019-09-20 21:25:37 +02:00
Paul Seyfert 0a0894d07c go env can show values of individual environment variables 2019-08-23 14:43:31 +02:00
Paul Seyfert 17239cec96 minor 1.13 changes 2019-08-23 14:37:32 +02:00
Paul Seyfert c8647517f3 fixup new env vars 2019-08-23 14:22:52 +02:00
Paul Seyfert 1133c0c82d prepare go 1.13 2019-08-23 14:16:57 +02:00
Lzu Tao 4001cd83cf Remove _multirust which is replaced by rustup 2019-08-06 14:02:27 +00:00
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