Commit Graph

924 Commits

Author SHA1 Message Date
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