Commit Graph

1148 Commits

Author SHA1 Message Date
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
Julien Nicoulaud 589938ffc9 Merge pull request #96 from aschrab/rvm
Rvm completion updates
2012-08-26 06:48:19 -07: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
Julien Nicoulaud ed52808629 Merge pull request #95 from aschrab/modelines
Move modelines to end of file
2012-08-25 03:26:09 -07: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
Mario Fernández ebd708b7a4 Merge pull request #94 from aschrab/ack
Improvements to ack completion
2012-08-23 00:35:31 -07: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
Julien Nicoulaud fccb9239f5 Merge pull request #92 from dserodio/master
Ack completion support for --invert-file-match
2012-08-14 13:12:38 -07:00
Daniel Serodio f5821e8c31 Ack completion support for --invert-file-match 2012-08-14 15:04:18 -03:00
Julien Nicoulaud 2cbf15cbb3 Fix README after 10ffeb0 2012-08-01 13:31:56 +02:00
Julien Nicoulaud 42ec986b4e ignore *.zwc 2012-08-01 13:27:59 +02: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
Julien Nicoulaud c06401e300 Add call for deb and rpm packagers 2012-08-01 13:21:33 +02:00
Julien Nicoulaud 4442d006d6 Add link to Mac OS Homebrew package 2012-08-01 13:16:03 +02:00
Mario Fernández 5c8baef01d Merge pull request #91 from drudge/master
Add choc completion, update node completion
2012-08-01 00:25:23 -07:00
Nicholas Penree 0e501fdcbf Fix param requirements 2012-07-31 19:34:18 -03:00
Nicholas Penree 8c04b8c79c Updated node completion to the latest version 2012-07-30 14:53:33 -04:00
Nicholas Penree 618761bbda Added choc command 2012-07-30 14:53:12 -04:00
Christophe-Marie Duquesne 3d81e4323f Merge pull request #90 from flixr/master
optirun: run normal completer instead of files
2012-07-24 10:24:44 -07:00
Felix Ruess 6b4e21e5dc run normal completer for commands instead of completing files for optirun 2012-07-24 19:13:44 +02:00
Ben O'Hara 365eb78252 Adds basic completion for googlecl 2012-07-13 21:01:39 +02:00
Julien Nicoulaud 520443eb3b Merge pull request #89 from benohara/mosh
Completion for mosh
2012-07-13 11:59:38 -07:00
Ben O'Hara a5b8979631 mosh 2012-07-11 15:11:53 +10:00
Mario Fernández 650f504207 Merge pull request #86 from benohara/master
Completion for tmuxinator
2012-07-06 00:27:38 -07:00
Ben O'Hara 1f97a6ad01 Add completion for tmuxinator 2012-07-06 10:59:46 +10:00
Julien Nicoulaud d54358a43c Merge pull request #84 from myrkraverk/master
PostgreSQL comletion fixes.
2012-06-24 11:43:36 -07:00
Julien Nicoulaud 36b5408672 Merge pull request #85 from xuhdev/editorconfig
Add EditorConfig file denoting indentation style.
2012-06-24 11:42:51 -07:00
Hong Xu bc3a1c59d1 Add EditorConfig file denoting indentation style. 2012-06-25 00:46:52 +08:00
Johann 'Myrkraverk' Oskarsson e64e7256c5 PostgreSQL comletion fixes. Added port number completions based on local
socket files.  Use explicit queries to list users, tables and databases
so we don't need to parse psql output.  Tested with 8.2 - 9.2.
2012-06-22 12:44:35 +00:00
Julien Nicoulaud 84ae6d1db8 Merge pull request #83 from spk/_gem_install_uri
Filter gemspec for build and list local gem file for install.
2012-06-19 11:40:57 -07:00
Laurent Arnoud 75ba199845 Filter gemspec for build and list local gem file for install.
This fix the issue #81
2012-06-19 20:34:35 +02:00
Julien Nicoulaud 39e26ca01f Merge pull request #82 from Mikachu/master
Fix some stuff
2012-06-10 03:00:07 -07:00
Mikael Magnusson c3b4d582a0 Various fixes, remove _zargs already upstream
Many movings of local inside the actual functions.
Add many missing local and remove -g(!).
Fix namespacing of some parameters and functions, phases() in _scala was nice.
2012-06-10 02:41:57 +02:00
Julien Nicoulaud 3497b4841c Remove _task, already provided by taskwarrior project
(See https://aur.archlinux.org/packages.php?ID=54111, comment Fri, 04
May 2012 11:22:06)
2012-05-20 20:27:28 +02:00
Mario Fernández d560a7f533 Merge pull request #78 from tylerball/pip-requirements
pip install -r file completion fix
2012-04-20 00:22:37 -07:00
Tyler Ball 23dbcc0da9 Fix for `pip install -r ...` file completion 2012-04-20 00:44:29 -04:00
Hideo Hattori 8b89dd9d10 issue #77 2012-04-02 01:45:29 +09:00
Julien Nicoulaud b877df4e70 Add Linux perf completion (partial) 2012-03-26 22:54:21 +02:00
Mario Fernandez f6108b8c42 Add completion script for the CoffeeScript command line utility 2012-03-01 22:32:42 +01:00