Commit Graph

1140 Commits

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