Vincent Breitmoser
85cf623d7e
Merge branch '_mpv'
2013-11-15 13:07:36 +01:00
Vincent Breitmoser
35b5cf0152
_mpv: complete --profile
2013-11-15 13:07:24 +01:00
Vadim A. Misbakh-Soloviov
820772a839
_eselect: fix function existance checking.
...
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
2013-11-15 02:15:18 +07:00
Vincent Breitmoser
88b268e1a9
Merge branch '_mpv'
2013-11-14 19:34:33 +01:00
Vincent Breitmoser
cb059a45ae
_mpv: simple parsing for complex parameters
2013-11-14 19:33:13 +01:00
Vincent Breitmoser
fc1249fc78
_mpv: add credit notice
2013-11-14 19:29:31 +01:00
Vincent Breitmoser
dba027f91a
_mpv: add show-advanced option, enable by default on --
2013-11-14 19:27:48 +01:00
Vincent Breitmoser
6384a4ea3d
_mpv: more specialized parameter handling
2013-11-14 18:48:22 +01:00
Vincent Breitmoser
cfc4738ad9
_mpv: fix --ao and --vo, ditch unused $state cases
2013-11-14 17:19:09 +01:00
Vincent Breitmoser
78478451bb
_mpv: add suppressed option groups, and more work on parameter args
2013-11-14 17:09:04 +01:00
Vincent Breitmoser
062a0734c3
_mpv: add parameter types
2013-11-14 16:43:44 +01:00
Vincent Breitmoser
c2bf84027c
_mpv initial version
2013-11-14 15:42:14 +01:00
Vadim A. Misbakh-Soloviov
de603da79a
_eselect news function rewriten. NB: todo mark inside. Fixes #186
...
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
2013-11-12 01:00:44 +07:00
Ben O'Hara
0ad97c79dd
Fix missing redirect for no file
2013-11-09 00:58:24 +10:00
Vincent Breitmoser
5524dac94d
_httpie: more _arguments updates
2013-11-06 16:54:17 +01:00
Vincent Breitmoser
512b6357e1
_httpie: fix for -pH problem
2013-11-06 16:54:15 +01:00
Vincent Breitmoser
dbd9c214fc
_httpie: use NORMARG for positioning
2013-11-06 16:54:12 +01:00
Vincent Breitmoser
b94ba8198c
_httpie: improve _arguments definitions, add print flags
2013-11-06 16:54:10 +01:00
Vincent Breitmoser
90be119649
_httpie: properly work with parameters
2013-11-06 16:54:02 +01:00
Vincent Breitmoser
15690458fd
_httpie: method is first argument, always
2013-11-06 16:53:56 +01:00
Ben O'Hara
4ea8b2548e
Fix matching for vm names im Vagrant file when using dashes or underscores
2013-11-07 00:05:04 +10:00
Akira Maeda
3f401f5a1d
add httpie completion http://httpie.org
2013-11-05 13:46:17 +09:00
Hong Xu
39fe5829d1
Improve homebrew completion.
2013-10-31 19:26:36 -07:00
hhatto
897060e332
update _setup.py
2013-10-15 01:03:52 +09:00
hhatto
54eed22221
remove local site-package path
2013-10-15 00:54:45 +09:00
hhatto
ec3b9c8954
fix #181
2013-10-15 00:49:46 +09:00
Massimiliano Torromeo
d992bd0ab9
Add salt completion
2013-10-03 19:07:13 +02:00
Julien Nicoulaud
43a3bc1b96
Merge pull request #168 from PaBLoX-CL/update-rvm-completion
...
Update rvm completion
2013-09-26 17:33:05 -07:00
Matvey Aksenov
951823c68c
Update cabal completion
...
Added support for the new cabal-install-1.18 features:
* `cabal repl`, `cabal run` and `cabal sandbox` commands are added
* `cabal get` is an alternative name for the `cabal unpack` command
* some commands received new options
Also some unrelated enhancements:
* generic `--with-PROG`, `--PROG-options`, and `--PROG-option`
are replaced with real options (e.g. `--with-gcc`, `--gcc-options`,
`--gcc-option` and the like) where possible
* `cabal install` completion supports both [hackage] cabal packages
and local .cabal files as arguments now
2013-09-26 01:39:05 +04:00
Hideo Hattori
9609ebb826
Merge pull request #176 from tt/improve-heroku-completion
...
Improve `heroku` completion
2013-09-19 04:10:47 -07:00
Greg Sieranski
cd9bde7846
tab completion for homebrew reinstall command
2013-09-18 14:56:15 -04:00
Hideo Hattori
0cab208c4f
Merge pull request #172 from glidenote/add_gist_completion
...
add gist completion
2013-09-18 06:28:17 -07:00
Hideo Hattori
835b564b04
Merge pull request #174 from wonbyte/audit_tab_homebrew
...
add audit command to homebrew tab completion
2013-09-18 06:20:57 -07:00
Troels Thomsen
af8ee4b78d
Add completion entry for "plugins:update" command
2013-09-12 20:35:09 -07:00
Greg Sieranski
d6dd5f1d89
add audit command to homebrew tab completion
2013-09-05 11:01:29 -04:00
Akira Maeda
632a949a27
add gist completion
2013-09-05 20:23:51 +09:00
Syohei YOSHIDA
4a0e577c45
add newly options
2013-09-05 12:42:09 +09:00
Pablo Olmos de Aguilera Corradini
ab126e1aa5
Update rvm completion
2013-08-29 22:14:00 -04:00
Vadim A. Misbakh-Soloviov
5b15bec0e4
some fixes and additions for optirun completion
...
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
2013-08-27 19:28:41 +07:00
Jozef Izso
4963f12ff3
Basic command completion for middleman tool.
2013-08-18 17:42:41 +02:00
Julien Nicoulaud
662229f6f0
Merge pull request #164 from mbrgm/add-veewee
...
Add veewee completion
2013-08-08 07:13:44 -07:00
Julien Nicoulaud
a427edeaa4
Merge pull request #163 from farseer90718/master
...
add jekyll completion
2013-08-08 07:13:19 -07:00
Julien Nicoulaud
bd2698727d
Merge pull request #162 from glidenote/wemux-completion
...
Add wemux completion.
2013-08-08 07:12:52 -07:00
Julien Nicoulaud
578b93093e
Merge pull request #160 from dhcmrlchtdj/master
...
Update pip completion
2013-08-08 07:10:47 -07:00
Julien Nicoulaud
b6e091d7e6
Merge pull request #159 from mollifier/jq-completion
...
Add jq completion.
2013-08-08 07:10:24 -07:00
Julien Nicoulaud
d2a96dbe02
Merge pull request #158 from jozefizso/brew_untap_completion
...
Completion for brew untap command.
2013-08-08 07:09:29 -07:00
Julien Nicoulaud
c6c78792d1
Merge pull request #156 from mitukiii/rails
...
Update rails completion.
2013-08-08 07:09:11 -07:00
Julien Nicoulaud
c918fb80fe
Merge pull request #155 from dongweiming/master
...
Add celery completion
2013-08-08 07:08:34 -07:00
Marius Bergmann
5188228749
Add veewee completion
2013-08-08 15:09:40 +02:00
farseer90718
c35a6318b6
add jekyll completion
2013-08-07 12:13:27 +08:00
glidenote
2d222b5325
Add wemux completion.
2013-07-30 15:18:05 +09:00
niris
b91db13f5c
add 'wheel' to pip completion
2013-07-26 17:58:01 +08:00
niris
52c096280e
Update pip completion
2013-07-19 22:13:34 +08:00
mollifier
23b74941a4
Add jq completion.
2013-07-14 05:04:01 +09:00
Kazuya Takeshima
0cd7ec957b
Add jbuilder generator completion.
2013-07-10 00:40:14 +09:00
Kazuya Takeshima
80ca790ee5
Create generator command dynamically.
2013-07-10 00:36:28 +09:00
Jozef Izso
9325fb1c03
Completion for brew untap command.
2013-07-08 13:06:43 +02:00
dongweiming
bf701062de
Update coffee completion
2013-06-28 15:18:46 +08:00
Kazuya Takeshima
5e499ab416
Add cache policy.
2013-06-27 19:45:08 +09:00
Kazuya Takeshima
4f16845159
Change cache name to use application root directory name.
2013-06-27 19:39:01 +09:00
Kazuya Takeshima
9cab90cf96
Support rails 4.
2013-06-26 15:26:57 +09:00
dongweiming
b588bd4065
Add celery completion
2013-06-25 22:18:06 +08:00
Michael Kory Woods
a83eb6e0fb
add '--devel' to sync option
...
"--devel" exists in query, but "yaourt -Syu --dev<tab><tab>" issn't autocompleting "--devel" (not sure it should based on it being in the query call, just wanted to mention it).
2013-06-16 16:39:47 -05:00
Michael Kory Woods
abd8ca4b05
add '--date' to opts_query_modifiers
2013-06-16 16:33:31 -05:00
Julien Nicoulaud
169e3dee9f
Merge pull request #153 from mitukiii/rails
...
Add rails completion.
2013-06-05 22:57:27 -07:00
Kazuya Takeshima
156f94c5e4
Add rails completion.
2013-06-06 13:59:59 +09:00
nmeum
d068f2858b
Added missing command-line flags to ssh-copy-id completion
...
See ssh-copy-id(1)
2013-05-31 23:30:23 +02:00
Kris Shannon
8b51f48221
Add first draft of dget completion
2013-05-31 13:03:50 +10:00
Limao Luo
6d10579ba0
added _primus completion for primusrun
2013-05-26 17:22:24 -04:00
Julien Nicoulaud
0de5be492d
Merge pull request #145 from mitukiii/mina
...
Add mina completion.
2013-05-26 02:34:52 -07:00
Julien Nicoulaud
f2d0ee66c2
Merge pull request #144 from graywh/patch-1
...
Separate values for bundle help
2013-05-26 02:34:31 -07:00
Julien Nicoulaud
a45c2760bf
Merge pull request #141 from luolimao/yaourt
...
Added new Yaourt options
2013-05-26 02:30:06 -07:00
Julien Nicoulaud
0a46b6d482
Merge pull request #140 from peteryates/master
...
Added completion for Ralio
2013-05-26 02:29:26 -07:00
Julien Nicoulaud
2daa8c6d1d
Merge pull request #138 from zhaocai/feature/_ack
...
Update ack to work with version 2+
2013-05-26 02:28:51 -07:00
Julien Nicoulaud
f038f70214
Merge pull request #137 from zhaocai/feature/_gem
...
Use cache-policy for _gem
2013-05-26 02:28:04 -07:00
Kazuya Takeshima
1c667bfebb
Add mina completion.
2013-05-24 16:11:06 +09:00
Peter Yates
e737b496a7
Removed reference to git flow
2013-05-22 10:15:37 +01:00
Will Gray
a59f5c3a0a
Separate values for bundle help
2013-05-20 17:08:55 -04:00
Limao Luo
b1aa5e2f1e
separate branches
2013-05-11 11:31:29 -04:00
Limao Luo
1f177e5680
more consistent completion messages
2013-05-11 11:28:19 -04:00
Limao Luo
aa58f2f8b9
added new opts
2013-05-11 11:27:21 -04:00
Limao Luo
7ecc156ef7
Merge branch 'master' of https://github.com/zsh-users/zsh-completions
2013-05-11 11:10:36 -04:00
Zhao Cai
dab8775218
(ack) handle ack version string containing commit sha1
2013-05-10 07:05:24 -04:00
Peter Yates
5977c94275
Specify the help text for the -t option
2013-05-02 16:30:43 +01:00
Peter Yates
2a8463b814
Remove superfluous create/delete options
2013-05-02 16:28:39 +01:00
Peter Yates
bd5f9232db
Added completion for ralio, a rally client
2013-05-02 16:04:23 +01:00
Zhao Cai
75bf6f64c2
(gem) Add open command
2013-04-29 20:25:40 -04:00
Zhao Cai
d3a6d8fbcc
Check GEM_HOME to compare recency
2013-04-29 20:19:50 -04:00
Zhao Cai
d2ce821cc8
Use cache-policy for _gem
2013-04-29 20:19:50 -04:00
Zhao Cai
d94703edf8
Update ack to work with version 2+
2013-04-28 22:46:52 -04:00
Mark Cornick
92238046cc
Update vagrant completion with "plugin" subcommand
...
This subcommand was added in Vagrant 1.1.
2013-04-26 12:38:48 -07:00
Julien Nicoulaud
9cbd2b6762
Merge pull request #134 from zhaocai/feature/_gem
...
_gem: update for browse, edit and clone commands
2013-04-11 15:02:40 -07:00
Julien Nicoulaud
d29381c6fa
Merge pull request #133 from zhaocai/brew
...
_brew update
2013-04-11 15:02:28 -07:00
Julien Nicoulaud
d516916824
Merge pull request #128 from pcasaretto/add-remote-argument-to-heroku
...
Add 'remote' argument to heroku
2013-04-11 15:02:05 -07:00
Zhao Cai
7e02122470
_gem: update for browse, edit and clone commands
2013-04-11 17:39:32 -04:00
Paulo L F Casaretto
779b6020b6
Namespace git commands under heroku
2013-04-11 14:18:51 -03:00
Zhao Cai
3ebbd136df
_brew update
...
1. use _call_program
2. formulae completion for search
3. formulae completion for upgrade
4. add pin/unpin command
2013-04-11 11:33:42 -04:00
Julien Nicoulaud
5a4ab02e40
Merge pull request #132 from mollifier/svm-completion
...
Add svm(Scala Version Manager) completion.
2013-04-10 11:24:33 -07:00
Julien Nicoulaud
28a2710f99
Merge pull request #130 from g5pw/master
...
Overhauled port command completion
2013-04-10 11:24:10 -07:00
mollifier
4fc0541ad1
Add svm(Scala Version Manager) completion.
2013-04-10 06:20:10 +09:00
Vincent Breitmoser
7f739d0f1b
_id3v2: complete at least one option before filenames
2013-04-06 23:02:35 +02:00
Vincent Breitmoser
590ba19ead
_id3: small update in descriptions and logic
...
use present tense. also, complete at least one option before filenames,
calling id3 with just file arguments is not a valid operation.
2013-04-06 23:01:45 +02:00
Vincent Breitmoser
6c0e222b0c
_id3v2: initial commit
2013-04-06 22:51:04 +02:00
Vincent Breitmoser
513546f59f
_id3: initial commit
2013-04-03 01:27:02 +02:00
Aljaž "g5pw" Srebrnič
8d9cdfc589
Add completion for rev-upgrade subcommand
2013-04-02 21:56:07 +02:00
Aljaž "g5pw" Srebrnič
7b412ed1ba
Fix bug introduced in 3e6040e01
...
I can't call a function from _arguments
2013-04-02 21:53:38 +02:00
Aljaž "g5pw" Srebrnič
3e6040e01d
Do not use state mechanism
...
Call a dispatch function instead, simplifying the nested select case.
2013-04-01 00:30:04 +02:00
Aljaž "g5pw" Srebrnič
54ed122d25
Set cache-policy before calling _arguments
2013-04-01 00:30:04 +02:00
Aljaž "g5pw" Srebrnič
810840e0e0
Remove unnecessary parenthesis escaping
2013-04-01 00:29:38 +02:00
Aljaž "g5pw" Srebrnič
1168563524
_port: add upgrade completions
...
Port upgrade completes only outdated ports.
2013-03-31 23:47:35 +02:00
Aljaž "g5pw" Srebrnič
4aa41e2267
Use message instead of guard
...
Use _message instead of _guard when completing the search pattern.
2013-03-31 23:47:35 +02:00
Mark Cornick
ef8d5806c4
Add completion for knife user commands
...
These commands were added in Chef 11.0.0.
2013-03-31 23:47:35 +02:00
Vincent Breitmoser
2b9822ef8f
_dzen2: initial commit
2013-03-31 15:35:54 +02:00
Aljaž "g5pw" Srebrnič
f2cff3dbf3
Use own cache policy
...
This checks modification dates of the repository database and completion cache
and refreshes the latter if it is older than the database.
2013-03-24 22:31:08 +01:00
Aljaž "g5pw" Srebrnič
d8a2e94fa0
Use native caching system
2013-03-24 22:29:51 +01:00
Aljaž "g5pw" Srebrnič
2224f3ae71
Moved port_select function to bottom
2013-03-24 22:26:32 +01:00
Limao Luo
1ddccf7dc6
Merge branch 'master' of https://github.com/zsh-users/zsh-completions
2013-03-24 13:56:54 -04:00
Mark Cornick
a017d3f212
Add completion for knife user commands
...
These commands were added in Chef 11.0.0.
2013-03-23 10:20:43 -04:00
Aljaž "g5pw" Srebrnič
6483c0c3a1
Overhauled port command completion
...
Port command completion got smarter. It can now complete paths for the
provides subcommand, and complete pseudo-portnames.
It will complete all ports or only installed ones (for example, when
completing for the uninstall command).
It will complete the select subcommand with appropriate values.
2013-03-20 08:22:38 +01:00
Paulo L F Casaretto
d5674edf44
Add remote argument completions
...
This was copied from _git-flow
2013-03-13 13:47:23 -03:00
Paulo L F Casaretto
4ed5855317
Add 'remote' argument to heroku
...
Also add the shorter -a switch to the app argument
2013-03-12 23:23:40 -03:00
Limao Luo
37d227ce42
primus completion for primusrun
2013-03-09 18:59:15 -05:00
Akira Maeda
75bca1455c
Add ag(the silver search) completion.
2013-02-28 19:36:13 +09:00
Vincent Breitmoser
e1e89ad4f8
_logger: initial commit
2013-02-26 22:36:24 +01:00
Julien Nicoulaud
c597ff8f2e
Merge pull request #125 from benohara/master
...
Update git-flow completion
2013-02-26 10:53:06 -08:00
Vincent Breitmoser
6958a4b251
_socat: initial commit
...
From here:
3c564c995b/_socat
2013-02-24 17:58:22 +01:00
Ben O'Hara
2314bc327a
Update git-flow completion
...
Add missing options and commands for support branches.
2013-02-24 18:44:09 +10:00
J. Brandt Buckley
dfb3eaa2f6
Use $ACKRC if set, otherwise use $HOME/.ackrc
...
The $ACKRC environmental variable allows a user to specify a path to his or her Ack config file. If not set, Ack looks for a file in the default location (~/.ackrc).
This update makes ack completion follow that same behavior.
2013-02-20 18:45:42 -08:00
Mirko Caserta
c73f8b0c80
Improved sbt completion
2013-02-17 15:49:50 +01:00
Tony Sloane
09fa1239d8
Update _scala for Scala version 2.10.0
2013-02-10 19:15:34 +11:00
Julien Nicoulaud
13715a7e50
Merge pull request #118 from mitukiii/gem
...
Fix to quote _files -g option argument
2013-01-27 08:17:19 -08:00
cirillo darkblu
ea348969fa
Update src/_adb
2013-01-20 18:21:36 +01:00
Kazuya Takeshima
095a8b7080
Fix to quote _files -g option argument
2013-01-16 13:13:48 +09:00
Julien Nicoulaud
2166ab8a6c
Merge pull request #115 from pismute/docpad
...
Add docpad completion
2012-12-19 10:31:20 -08:00
Julien Nicoulaud
b5aca65b2a
Merge pull request #117 from pismute/nvm
...
Add nvm completion
2012-12-19 10:30:56 -08:00
Changwoo Park
0d4c8712b0
Add nvm completions
2012-12-03 09:43:05 +09:00
Matvey Aksenov
aad3ce6ca7
Add cabal-install completion.
2012-11-29 12:51:39 +04:00
Changwoo Park
47bc3f75c8
Fix typo. 'nvm' -> 'docpad'
2012-11-28 09:20:34 +09:00
Mario Fernandez
0783dccfac
Add completions for _mussh
2012-11-27 17:47:22 +01:00
Changwoo Park
8934613b1c
Add docpad completion
2012-11-28 00:09:33 +09:00
Poapfel
09ced5f209
Added outdated command to bundler completions
2012-11-10 21:05:09 +01:00
Poapfel
b15dbf4cd5
Added platform command to bundler completions
2012-11-10 21:03:33 +01:00
Lee Hinman
af82b11240
update leiningen completion for lein 2
2012-10-23 10:56:33 -06:00
Julien Nicoulaud
b70c7f9799
Merge pull request #109 from markcornick/knife_environment
...
Update _knife with environment sub-commands
2012-10-04 05:09:39 -07:00
Mark Cornick
6b8d711aec
Update _chef_X_remote functions for current knife output
...
The format of the output from "knife X list" commands has changed since
this completion script was written.
2012-10-02 12:59:40 -04:00
Mark Cornick
3c833c6491
Fix _chef_environments_remote for current knife output
...
All of these functions need to be fixed, but I'll fix the others in a
different branch.
2012-10-02 12:55:08 -04:00
Mark Cornick
31ec2904f0
Update _knife with environment sub-commands
...
Environments were added in Chef 0.10.
2012-10-02 12:46:15 -04:00
Laurent Arnoud
104562a111
Added gem push completion.
2012-10-01 00:29:10 +02:00
Katsunori Kanda
3bea535045
Update brew completion to the latest version
2012-09-23 02:41:21 +09:00
Julien Nicoulaud
1fe53ac70c
Merge pull request #106 from dserodio/pg_dumpall
...
pg_dumpall completion (PostgreSQL)
2012-09-21 07:18:53 -07:00
Daniel Serodio
e9f3294210
pg_dumpall completion
2012-09-21 10:24:37 -03:00
Erlend Hamberg
fc4c46365a
Fix completion of “vagrant ssh-config”
...
The completion for vagrant incorrectly listed “ssh_config” as a command. This should be “ssh-config”.
2012-09-21 15:57:42 +03:00
J Smith
1b2dabcd2e
Add a bunch of additional options for pg_dump.
2012-09-11 14:29:00 -04:00
J Smith
625eaa58ce
Add the -T/--exclude-table option for pg_dump.
2012-09-11 14:29:00 -04:00
J Smith
d1e2e96be8
Add the -N/--exclude-schema option for pg_dump.
2012-09-11 14:29:00 -04:00
J Smith
bc8ef15557
Add _pgsql_schemas to grab the list of schemas for pg_dump.
2012-09-11 14:29:00 -04:00
J Smith
5921809d49
Add the -E/--encoding option for pg_dump.
2012-09-11 14:29:00 -04:00
Julien Nicoulaud
b46f6e74e8
Merge pull request #101 from aschrab/vnstat
...
Completion for vnstat
2012-09-10 10:24:03 -07:00
Julien Nicoulaud
79f156f5cd
Merge pull request #102 from dark-panda/pgsql-enhancements
...
Enhancements and fixes for PostgreSQL completion
2012-09-10 10:23:33 -07:00
Massimiliano Torromeo
42d34118a0
Implemented sdd completion script
2012-09-10 16:51:19 +02:00
Aaron Schrab
f01ede0bf8
Completion for vnstat
2012-09-10 09:44:07 -04:00
J Smith
603bd2f4e1
Add the initdb command.
2012-09-10 01:18:33 -04:00
J Smith
6b1c882e9d
Add the createuser and dropuser commands.
2012-09-10 01:18:33 -04:00
J Smith
cfb8da6fb2
Get the list of encodings from the database cluster.
2012-09-10 01:18:33 -04:00
J Smith
c5a5033e08
Connect to template1 when getting the list of databases.
...
We can't assume that the user will have a database that shares their
user name.
2012-09-10 01:18:33 -04:00
J Smith
98f5f1abc1
Fix typo -- "oin" should be "oid".
2012-09-10 01:18:33 -04:00
Julien Nicoulaud
9966dd96a0
Merge pull request #97 from luolimao/master
...
AUR/Pactree package completion
2012-09-09 08:15:19 -07:00
luolimao
47a175cbcf
added proper file header
2012-09-09 08:58:09 -04:00
Aaron Schrab
56d914b8c8
Complete argument for rvm --patch option
...
The rvm --patch option takes an argument that is one or more file names
separated by commas.
2012-09-05 14:38:14 -04:00
Vadim A. Misbakh-Soloviov
b0e171924e
fix #98
...
(update gentoo completions to reflect current portage files state)
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
2012-09-06 01:01:16 +07:00
luolimao
b6f3d51dc7
fixed indentation in general
2012-09-02 02:26:59 -04:00
luolimao
a89cb91318
turned tabs into spaces
2012-09-02 02:23:03 -04:00
luolimao
b015709f56
added pactree completion
2012-09-01 10:22:55 -04:00
luolimao
0f7eebbfac
added completions for AUR packages
2012-08-31 04:45:03 -04:00
Aaron Schrab
99a1daad2f
Revert _rvm changing from local to typeset
...
This was changed in 4f68928
, but the old way is the conventional way.
2012-08-26 09:40:27 -04:00
Aaron Schrab
8520b72484
Fix excluding options
...
When one option should exclude several others the ones to be excluded
are separated by a space, not a pipe character.
2012-08-26 02:26:02 -04:00
Aaron Schrab
aefaacabe7
Options don't need to exclude themselves
...
_arguments by default will leave an already used option out of the
completions, there's no need to explicitly tell it to do so.
2012-08-26 02:22:14 -04:00
Aaron Schrab
ef646cc5ab
Merge commit 'zhaocai/master~' into rvm
...
- Avoid $GREP_OPTIONS environment variable causing problems.
- Remove obsolete --prefix option.
2012-08-26 02:08:08 -04:00
Aaron Schrab
9027ad4101
Fix completion of rvm subcommands
...
Adapt parsing the output of `rvm help` to deal with new formatting of
the subcommand list:
command :: description
While still handling the former format:
command - description
2012-08-26 01:16:55 -04:00
Aaron Schrab
3f55429b0e
Move modelines to end of file
...
Having a vim modeline or emacs local variable line somewhere in the
middle of the file isn't really helpful. By default, vim will only
check the first and last 5 lines of a file for a modeline (assuming the
modeline option is enabled). Emacs is even more strict about the type
of local variable line that was in use, it will only check the first
line of the file or the second line if the first line specifies a script
interpreter (which isn't the case here).
Move the vim modeline to the end of the file so that it can actually be
found by vim but is out of the way for editing. For emacs more work is
required, convert that to the more verbose Local Variables syntax which
emacs will look for starting 3000 characters from the end of the file.
Also there is no zsh mode for emacs (according to
zsh-users/zsh-completions#75 ), use the "Shell-Script" mode instead.
This seems to automatically detect that the files are for zsh.
I'm not an emacs user, so I haven't tested that portion much. But, this
does at least improve the syntax highlighting there.
2012-08-23 11:18:49 -04:00
Aaron Schrab
7b12d0beaa
Ack first argument is file if --match used
...
Complete all non-option arguments as file names if the --match argument
is present.
2012-08-22 21:34:19 -04:00
Aaron Schrab
adf4e09e0a
Ack _arguments call should use -s and -S
...
Several single-character options may be specified in a single argument,
so -s should be used.
"--" specifies that there are no further options, so -S should be used.
2012-08-22 21:33:36 -04:00
Aaron Schrab
3a74489124
Fix binding options to their arguments for ack
...
Add trailing +, -, and = as appropriate in call to _arguments to specify
how arguments to options are handled.
2012-08-22 21:32:35 -04:00
Zhao Cai
4f68928aa4
update _rvm from newest rvm updates
2012-08-21 04:07:52 -04:00
Daniel Serodio
f5821e8c31
Ack completion support for --invert-file-match
2012-08-14 15:04:18 -03:00
Julien Nicoulaud
10ffeb0c15
[BREAKING CHANGE] Move compdefs to own directory (to ease packaging and
...
avoid bloating users fpath with unneeded files such as README.md)
2012-08-01 13:23:11 +02:00