Commit Graph

1140 Commits

Author SHA1 Message Date
davidhcefx 37a9a485ee update nano to version 5.4 2021-02-11 02:51:33 +08:00
Score_Under 4c5a8ef41e
Add license notice to _gpgconf 2021-02-04 15:48:07 +00:00
Score_Under ab80ddd379
Shorter perl one-liner in _gpgconf 2021-02-04 14:45:30 +00:00
Score_Under a1d53f8824
Add missing homedir option to _gpgconf 2021-02-04 14:41:16 +00:00
Score_Under c90c27f8fc
Add completion for gpgconf 2021-02-04 13:20:36 +00:00
Hannu Hartikainen 19a412373f
udisksctl: fix paths with a colon
For paths such as `/dev/disk/by-id/usb-JetFlash_Transcend_64GB_15AFGA849642-0:0`, `_describe` parses the colon as field separator. This results in wrong completions and the general feeling that udisksctl is broken because it won't mount my pendrive.

Since the output of `udisksctl complete` is (apparently) just a list of paths, it's safe to escape all colons with a backslash.
2021-01-18 10:13:44 +00:00
Aske Bækdal Møller 3511fb04db Use correct makefile for target completion 2021-01-16 10:37:26 +01:00
Gianluca Recchia 17d92b0a8e
Fix completion of cipher algorithms 2021-01-03 16:31:19 +01:00
Hyeon Kim 5922465d53
_mssh: Handle error cases more gracefully
1.  Do nothing when there's no AWS CLI
2.  Print error message gracefully if AWS CLI failed
2020-12-31 17:27:10 +09:00
Hyeon Kim 7a4574cd45
_mssh: Add a license header 2020-12-30 20:03:56 +09:00
Hyeon Kim 43a6b81308
Add 'mssh' completion
mssh is a Python client for accessing EC2 instances via AWS EC2 Instance
Connect.

References:
  https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.html#ec2-instance-connect-connecting-ec2-cli
  https://github.com/aws/aws-ec2-instance-connect-cli
  https://pypi.org/project/ec2instanceconnectcli/
2020-12-30 17:02:50 +09:00
nicoulaj 44c5bce312
Merge pull request #711 from kanashimia/master
Update stack completions as in the current version 2.3.0.1
2020-12-27 16:41:58 +01:00
Norbert Lange 6dff9453ca CMake: note myself as additional author 2020-12-25 23:50:13 +01:00
Norbert Lange 19e65b20dd CMake: udpate generators list 2020-12-25 23:34:56 +01:00
Norbert Lange f5d179b0b5 CMake: Major update to options, adapted to 3.19
Now listed in the same order as the builtin help (CMake 3.19),
for easier audit in the feature.

Commands and descriptions updated.

Support for listing presets.

Use this command to create output for comparison
(not 100% exact obviously):

cmake --help |
  sed -n "s,^ *\(--*[^= ]*\).* = *\([^=]*\),    '\1[\2]',p" |
  sed 's,\.],],'
2020-12-25 23:05:51 +01:00
Norbert Lange 7246533baa CMake: add -E command completions 2020-12-25 22:21:49 +01:00
Norbert Lange 990e604652 CMake: Completely overhaul help command completions
Several argument names where wrong,
completed all available -list functions,
escape brackets in the list, etc.
2020-12-25 22:18:42 +01:00
Norbert Lange 2dc84783fe CMake: Turn some property values into local arrays
Update C/C++ Standards supported aswell
2020-12-25 22:11:49 +01:00
Norbert Lange 63b470243b CMake: fix option completion after first argument
for some reason this just ended after the first option.
2020-12-25 21:57:24 +01:00
Shohei YOSHIDA 2d5a8a3ef1 Remove flameshot completion
It is provided from original project now
2020-09-23 14:39:32 +09:00
Shohei YOSHIDA 454d236d3a
Merge pull request #752 from pseyfert/go1.15
prepare go 1.15
2020-09-01 12:12:00 +09:00
Shohei YOSHIDA 55026f8ed9 Update nano completion
Add '-u', '--unix' flag
2020-08-10 13:17:28 +09:00
Kamlesh 31c76d90a7 incporporated code review comments
incporporated code review comments from @syohex
2020-07-20 22:38:46 -04:00
Kamlesh 231db68806 Update new completions for Flutter
closes https://github.com/zsh-users/zsh-completions/issues/682

Add new completions for the Flutter CLI
2020-07-20 00:13:15 -04:00
Shohei YOSHIDA afcaccd3ca Update node flags 2020-07-17 22:16:36 +09:00
Paul Seyfert 74a316cca8 prepare go 1.15 2020-06-17 22:22:01 +02:00
Shohei YOSHIDA 3b247d3071
Merge pull request #749 from arp242/psqlrc
pgsql: add -X to psql commands to prevent loading ~/.psqlrc
2020-06-03 14:24:46 +09:00
Martin Tournoij 76efcab2f9
pgsql: Check for pg_config existence
pg_config isn't installed by default on many systems, and is usually
part of postgresql-libs-devel or some such, leading to needless
"pg_config not found" errors on completion.
2020-06-03 12:33:45 +08:00
Martin Tournoij f371431619
pgsql: add -X to psql commands to prevent loading ~/.psqlrc
The ~/.psqlrc may alter the output. In particular, I have '\timing on'
in there to add timings. This is useful when using psql, but not when
relying on it in scripts.

For example:

    psql -Aqt -c "select n.nspname \
        from pg_catalog.pg_namespace n \
        where n.nspname "'!~'" '^pg_' \
          and n.nspname <> 'information_schema' \
        order by 1;" postgres 2>/dev/null

Gives the output:

    public
    Time: 1.882 ms

Whereas with -X it gives the standard output:

    public
2020-06-03 11:40:37 +08:00
OKURA Masafumi 0bd08521f9 Add completion for nanoc
nanoc is a static site generator written in Ruby.
Website for nanoc is here: https://nanoc.ws/
2020-05-28 07:47:52 +09:00
Shohei YOSHIDA ae19ab20f5 Move comment line for avoiding completion error 2020-05-27 23:07:34 +09:00
Shohei YOSHIDA 787ea7a719 Update vnstat completion 2020-05-27 08:49:43 +09:00
Shohei YOSHIDA 23614ea318 Update rspec format option candidates 2020-05-26 11:20:50 +09:00
Shohei YOSHIDA 6daa0849e2 Update ffind completion 2020-05-26 07:38:59 +09:00
Shohei YOSHIDA c13c3ce7f8 Add license header and metadata and fix typo 2020-05-25 23:32:47 +09:00
Shohei YOSHIDA a2fa9788b6
Merge pull request #740 from syohex/pr-665
Cleanup #665
2020-05-25 23:29:37 +09:00
Felix Neumärker b7bc314a82
Add completion for fail2ban-client 2020-05-25 15:12:01 +02:00
Shohei YOSHIDA c65ddb6621 Improve mc completion
- Add license header
- improve file completions
- update new options
2020-05-25 20:44:45 +09:00
Shohei YOSHIDA b43531a749 Update nano completion 2020-05-25 16:18:46 +09:00
Shohei YOSHIDA 7a23291f66 Update httpie completion 2020-05-25 08:21:51 +09:00
Shohei YOSHIDA 013f6ac258
Merge pull request #737 from syohex/pr-683
Squash #683 and add file local variables
2020-05-17 22:00:32 +09:00
Shohei YOSHIDA bbfdc2635a Add file local variables for _golang 2020-05-17 21:27:32 +09:00
Paul Seyfert 815f3808a0 Update to go 1.14 2020-05-17 21:25:54 +09:00
Shohei YOSHIDA 836d9e27bb Implement 'perf script' completion
and fix typos
2020-05-16 11:16:29 +09:00
Shohei YOSHIDA cafbd76037 Implement 'perf sched' completion 2020-05-16 00:23:52 +09:00
Shohei YOSHIDA 9db043ca96 Update 'perf kmem' completion 2020-05-15 23:19:56 +09:00
Zhuo Zhang 07c5f46eea support cmake --install related options 2020-05-15 15:55:59 +08:00
Shohei YOSHIDA fe8e9a0d29 Implement perf trace 2020-05-15 09:29:56 +09:00
Shohei YOSHIDA ba0cc35915 Implement 'perf lock' completion 2020-05-15 08:03:23 +09:00
Shohei YOSHIDA ab17b682be Implement 'perf bench' subsystem and suite completion 2020-05-14 21:12:03 +09:00
Shohei YOSHIDA 8b7e37acce Update 'perf timechart' completion 2020-05-14 09:30:24 +09:00
Shohei YOSHIDA ffaa7d5b67 Implement 'perf report' completion 2020-05-13 23:14:40 +09:00
Shohei YOSHIDA 769585ecb3 Implement 'perf record' completion 2020-05-13 09:30:08 +09:00
Shohei YOSHIDA 2c2cc6cc43 Implement perf data completion 2020-05-12 23:54:47 +09:00
Shohei YOSHIDA f46cc5639f Update 'inject' and 'buildid-cache' options 2020-05-12 08:31:10 +09:00
Shohei YOSHIDA 18a6415967 Implement 'perf mem' completion 2020-05-12 00:52:20 +09:00
Shohei YOSHIDA a2b542f687 Update 'perf test' completion 2020-05-11 23:17:27 +09:00
Shohei YOSHIDA 8292501ae1 Implement perf c2c completion 2020-05-11 08:14:08 +09:00
Shohei YOSHIDA f816c920c5 Implement perf config/ftrace/kallsyms subcommand 2020-05-10 20:32:32 +09:00
Shohei YOSHIDA 9dc327a19b Update subcommand 2020-05-10 19:01:08 +09:00
Shohei YOSHIDA e60485263b Implement perf probe completion 2020-05-10 10:50:16 +09:00
Shohei YOSHIDA aea74be9a4 Implement perf stat completion
except stat record/report completion
2020-05-09 23:40:19 +09:00
Shohei YOSHIDA 91c7785937
Merge pull request #716 from syohex/syohex/perf-top
Implement perf top completion
2020-05-09 22:03:56 +09:00
Shohei YOSHIDA 580905588b Implement perf top completion 2020-05-09 20:44:00 +09:00
Shohei YOSHIDA 73505e4768 Don't use sed gnu extension, use POSIX syntax 2020-05-09 19:22:56 +09:00
Shohei YOSHIDA fd64c85cf7 Fix run subcommand --cwd issue
opt_args cannot be read from 2nd completion
2020-05-09 16:48:48 +09:00
Shohei YOSHIDA 1a420d3839 Update subcommand flags 2020-05-09 14:57:49 +09:00
Shohei YOSHIDA 44e1c1ed9c Improve completion when '--cwd' is specified 2020-05-09 14:28:04 +09:00
Shohei YOSHIDA 4601310ac2 Update subcommand completion 2020-05-09 10:08:03 +09:00
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
Kanashimia d57ce3b635
Remove '*' from nix* and docker* 2020-05-05 02:52:58 +03:00
Kanashimia 378d08d82d
Another minor changes.. 2020-05-05 02:46:48 +03:00
Kanashimia 44b3d21dd7
Fix all words to start with a lowercase letter. 2020-05-05 02:41:27 +03:00
Kanashimia 565d378f00
Update _stack 2020-05-05 02:24:33 +03: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
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
Wade Wegner 21617af144
Added :file:_files as appropriate 2018-01-16 06:09:00 -08:00
Mario Fernández 70a7a5cdee
Merge pull request #545 from dkarter/patch-1
Add --only-failures to rspec completions
2018-01-10 21:10:18 +01:00
Wade Wegner 4e2edad24f Update to include command arguments 2018-01-07 14:03:55 -08:00
Wade Wegner 7d6d555910 Added support for the Salesfore CLI 2018-01-07 05:01:51 -08:00
Paul Seyfert e41dfffc0b added cxx and c language standards 2017-12-21 12:19:26 +01:00
Paul Seyfert 51592ac5a6 add CMAKE_PREFIX_PATH to cmake completion
https://cmake.org/cmake/help/v3.3/variable/CMAKE_PREFIX_PATH.html
 * some packages provide no Find${PROJECT}.cmake file but a ${PROJECT}Config.cmake instead
 * providing these through CMAKE_MODULE_PATH just results in an error
   message, which points out one should've used CMAKE_PREFIX_PATH instead.
2017-12-12 18:42:47 +01:00
Dorian Karter a9ca8f5fd9
Add --only-failures to rspec completions
See title. This would be available for rspec 3.x users.
2017-12-05 19:51:44 -06:00
Paul Seyfert c3b41b338b extend cmake completion
* added common properties for makefile verbosity
 * options are picked from https://stackoverflow.com/a/2673355
 * explanation strings from the cmake documentation
2017-11-17 10:15:17 +01:00
Simon Wachter 155c2a9939
yarn: escape colons when getting scripts from package.json 2017-11-06 13:33:30 +01:00
nicoulaj 372f9b47e9
Merge pull request #538 from okapia/master
Add completion for scons
2017-11-03 19:27:00 +01:00
nicoulaj f70c416f7d
Merge pull request #537 from danteu/master
Add tarsnap autocompletion
2017-11-03 19:26:34 +01:00
nicoulaj 1d0b4b71ea
Merge pull request #536 from bezhermoso/tmuxp
Add tmuxp auto-completion
2017-11-03 19:24:42 +01:00
Oliver Kiddle 538f2a0287 follow normal zsh case conventions in some functions 2017-10-28 00:23:07 +02:00
dannyzen 831d89694d Revert "experiment for testing gcloud completion"
This reverts commit 2b58cdfdeb.
2017-10-27 11:04:25 -04:00
dannyzen 2b58cdfdeb experiment for testing gcloud completion 2017-10-27 11:01:57 -04:00
Daniel Teunis 70f69c15f9 rewrite tarsnap autocompletion based on PR review 2017-10-24 22:55:21 +02:00
Oliver Kiddle 38212a77ee Add completion for scons
This only handles the options. I never found a good way to get a
list of targets which would make it much more useful. But option
completion alone is useful and it falls back to file completion
so doesn't do any harm.
2017-10-21 16:19:48 +02:00
Julien Nicoulaud ed7ba0a71c
Remove license header from compdefs I wrote (switching to the Zsh license) 2017-10-19 20:05:38 +02:00
Bez Hermoso a86e06b336
Use _call_program when gathering list of tmux sessions 2017-10-19 09:02:24 -07:00
Bez Hermoso e7132b01c4
Dump stderr 2017-10-18 18:58:45 -07:00
Daniel Teunis 839f50f8a8 Add tarsnap autocompletion 2017-10-18 23:32:08 +02:00
Bez Hermoso d0dcdb632e
Implement suggestions: reduced code for session selection, fixed --help etc. 2017-10-18 14:10:45 -07:00
Bez Hermoso 630edf185b
Add tmuxp auto-completion 2017-10-18 12:07:07 -07:00
nicoulaj f13a8d454a Merge pull request #532 from nicolasdespres/caffeinate
Add completion for 'caffeinate'.
2017-09-28 21:40:54 +02:00
nicoulaj a22fe39009 Merge pull request #531 from hlx98007/master
knife plugin cannot ls path with quotes
2017-09-28 21:40:09 +02:00
nicoulaj 80eca0f068 Merge pull request #530 from tomonacci/fix-ibus-positional-arguments
_ibus: avoid the use of positional arguments
2017-09-28 21:39:24 +02:00
nicoulaj 03dce094a6 Merge pull request #526 from anderkonzen/mix_improvements
Add new Phoenix tasks, mostly included in the 1.3.0 release
2017-09-28 21:38:27 +02:00
Nicolas Despres 28d94cc3cf Add completion for 'caffeinate'. 2017-09-28 21:50:53 +13:00
Luxing Huang 59f97c36c9 fix knife cannot ls a path problem. (double quotes is the issue) 2017-09-20 16:39:46 -04:00
Tomo Kazahaya d0eed71d9b _ibus: avoid the use of positional arguments 2017-09-18 09:22:02 -04:00
Anderson Konzen 7bcd6810cb Add new Phoenix tasks, mostly included in the 1.3.0 release 2017-09-04 00:37:38 -03:00
Jeff Widman 93b3a91233 Delete _ag in favor of upstream
`ag` added their own upstream ZSH completion script: https://github.com/ggreer/the_silver_searcher/blob/master/_the_silver_searcher
2017-09-01 23:36:03 -07:00
nicoulaj 6a2895b7f5 Merge pull request #524 from dark-panda/pgsql-enhancements
Pgsql enhancements
2017-08-29 17:53:28 +02:00
nicoulaj 7ca3815ebc Merge pull request #523 from kapsh/yaml_ext
Add yaml to _ansible-playbook recognized extensions
2017-08-29 17:52:47 +02:00
nicoulaj 8a190214ae Merge pull request #522 from tomonacci/feature-xsel
Add completion script for xsel
2017-08-29 17:52:17 +02:00
J Smith bbd0fe91f4 Add the --role option to the common pgsql options 2017-08-28 11:51:58 -03:00
J Smith 2a331231c5 Add additional options for initdb 2017-08-28 11:51:42 -03:00
J Smith 2653bb59a6 Add the -i/--interactive option for dropuser 2017-08-28 11:51:27 -03:00
J Smith 48f3bb5beb Add additional options for createuser 2017-08-28 11:50:02 -03:00
J Smith 41bc851b84 Add additional options for pg_dump 2017-08-28 11:49:47 -03:00
J Smith 506972a1d6 Add additional options for psql 2017-08-28 11:49:04 -03:00
kapsh c0f96253a4 Add yaml to _ansible-playbook recognized extensions 2017-08-27 17:47:54 +03:00
Tomo Kazahaya 16cf3ed1f9 Add completion script for xsel 2017-08-17 21:35:33 -04:00
Tomo Kazahaya 01a444f5e4 Add completions for ibus 2017-08-17 20:16:35 -04:00
Frank LENORMAND 36f40092b0 src _kak: Fix argument syntax and use `_call_program` 2017-07-19 14:10:40 +03:00
nicoulaj 6dadd2ad9f Merge pull request #511 from yous/fix-bsd-sed
Replace character with newline using `tr`
2017-07-18 19:54:31 +02:00
nicoulaj 1f590a0e50 Merge pull request #512 from lenormf/_kak
src: Add completion for the Kakoune code editor
2017-07-18 19:52:26 +02:00
nicoulaj bfab968525 Merge pull request #513 from jvwdev/master
Add completions for zcash-cli
2017-07-18 19:46:09 +02:00
nicoulaj ac2da3b050 Merge pull request #514 from kloetzl/fix-exclusion-list
fix some exclusion lists
2017-07-18 19:45:04 +02:00
nicoulaj 746c3cfc15 Merge pull request #515 from kloetzl/add-sublime-text
add completion for sublime text
2017-07-18 19:44:23 +02:00
Fabian Klötzl 8535e97184 add completion for resilio sync 2017-07-13 10:01:31 +02:00
Fabian Klötzl d387453efa fix some exclusion lists 2017-07-10 13:06:14 +02:00
Fabian Klötzl b8d9450388 add completion for sublime text 2017-07-10 12:59:08 +02:00
Jordy van Wolferen 199076e104 bitcoin-cli update + add wallet functions 2017-07-09 12:14:34 +02:00
Jordy van Wolferen c053e7d05e Add completions for zcash-cli 2017-06-29 02:18:13 +02:00
Frank LENORMAND f37dad97cd src: Add completion for the Kakoune code editor 2017-06-21 13:30:22 +03:00
Chayoung You aa4c6d0abc
Replace character with newline using `tr`
BSD sed don't print newline for `\n` in replacement string.
2017-06-09 18:03:41 +09:00
dannyzen 8afa476126 adding authors and copyright 2017-05-16 12:03:24 -04:00
dannyzen f02423840c adding additional features to cloudfoundry cli 2017-05-16 12:00:45 -04:00
Akinori MUSHA 32b4770dab Use `sed -E` instead of `-r`
`-E` is more widely supported, including GNU sed.

- [GNU sed](https://www.gnu.org/software/sed/manual/sed.html)
- [macOS](https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/sed.1.html)
- [FreeBSD](https://man.freebsd.org/sed/)
- [NetBSD](http://netbsd.gw.com/cgi-bin/man-cgi?sed)
- [OpenBSD](http://man.openbsd.org/sed.1)
2017-05-15 17:40:15 +09:00
nicoulaj 89dcaeb562 Merge pull request #501 from mtorromeo/rkt
Update rkt completions
2017-05-12 20:03:31 +02:00
nicoulaj e31fcdcced Merge pull request #500 from mtorromeo/yarn
Added completion for yarn
2017-05-12 20:03:03 +02:00
nicoulaj de1508d194 Merge pull request #499 from tejanium/master
Update completion for mix
2017-05-12 20:02:39 +02:00
nicoulaj 5cc1c31d0e Merge pull request #497 from ianks/master
Add completions for bitcoin-cli
2017-05-12 20:02:03 +02:00
Massimiliano Torromeo 8cdf60b71c Updated rkt commands and arguments 2017-05-07 22:41:47 +02:00
Massimiliano Torromeo f9d7d9de78 Implemented autocompletion for rkt pods and images (Fixes #465) 2017-05-07 22:15:24 +02:00
Massimiliano Torromeo 9feab3990c Added completion for yarn 2017-05-06 19:52:10 +02:00
Teja Sophista a63a098071 Update completion for mix, add completion for mix test, fix completion for mix help 2017-04-18 20:20:52 +08:00
Ian Ker-Seymer 6285e0e019 Add completions for bitcoin-cli 2017-04-06 11:19:30 -04:00
patrick96 0ed2e86399
Set proper description for gist -r 2017-04-05 20:11:57 +02:00