Commit graph

1,397 commits

Author SHA1 Message Date
Chris Smith
71afbed515 Adding README.md 2014-09-17 14:11:44 +02:00
Chris Smith
bf4cf688cd Adding quotes around $1 2014-09-17 14:11:44 +02:00
Chris Smith
d556462e54 Adding Textastic plugin 2014-09-17 14:11:44 +02:00
Frederik Mogensen
bbe3cbaaee Added _files to complete all arguments following the first as files 2014-09-17 14:11:44 +02:00
Frederik Mogensen
0588643bb6 Added autocompleting plugin for Android Debug Bridge (adb). 2014-09-17 14:11:44 +02:00
Anton Eicher
552e5b8785 Added check for .git directory in current, before wasting time querying git. This saves seconds on my pc. 2014-09-17 14:11:43 +02:00
Marc Cornellà
76e9d2b71e Fix pass zsh completion and autoloading
When autocompleting from `pass <TAB>', sometimes the following errors
appear:

  _values:compvalues:10: not enough arguments
  find: `/home/user/.password-store': No such file or directory
  _values:compvalues:10: not enough arguments
  find: `/home/user/.password-store': No such file or directory

The `_values' error happens when there is no password-store folder *or*
there are no passwords in pass; the `find' error only when there is no
password-store folder.

We can trace it back to line 108, which contains the only `_values'
statement that is executed when we autocomplete from pass. We confirm
this by following the trail of execution, which is

  _pass -> _pass_cmd_show -> _pass_complete_entries ->
        -> _pass_complete_entries_helper

If we try running the command inside `$()' on line 104, we see that it
returns nothing and the output is blank. This means that `_values' only
receives 1 of its 2 mandatory parameters, therefore the above error is
triggered (not enough arguments).

That is unless we don't have a password-store folder, in which case the
`find: [...] no such file or directory' error is *also* triggered.

We solve the first error by supplying a default value of "" if the
command outputs nothing, using the zsh construct ${var:-else}.

We solve the second error by redirecting the find command's stderr output
to /dev/null, so the error is effectively suppressed.

* * * *

This patch also fixes the first tab completion, which currently only
loads the completion function definition.

We do this by adding a `_pass' statement at the end of the file, which
runs the `_pass' completion function after loading its definition.
This is the standard way an autoloaded function works; for other examples
look at zsh's official completion files.
2014-09-17 14:11:43 +02:00
Marc Cornellà
67b522409d Update pass completion to upstream
Conflicts:
	plugins/pass/_pass
2014-09-17 14:11:43 +02:00
Santiago Borrazás
afa88fc453 Added a link to the file's license and added the commiter as plugin maintaner. 2014-09-17 14:11:43 +02:00
Christian Köstlin
4c3a8e6997 gem plugin: added _files to install command
is useful if you want to install a local gem from the filesystem
2014-09-17 14:11:43 +02:00
ncanceill
917c3a0f81 make sure cache dir exists, just like log dir 2014-09-17 14:11:43 +02:00
ncanceill
b3be5e8f39 Revert "specify python2 in shebang"
"/usr/bin/python2" does not exist on Mac OSX (see #2382), so fuck people who have
"python" symlinked to "python3"

This reverts commit e5ed07e2b5
2014-09-17 14:11:43 +02:00
Markus Faerevaag
fbe8e15afc [wd] v0.2.2: Added MIT-License 2014-09-17 14:11:43 +02:00
Markus Faerevaag
c7b5811479 [wd] v0.3.1: Improved completion and bug fixes 2014-09-17 14:11:43 +02:00
Eduardo San Martin Morote
c1699fd0d3 tmuxinator completion update:
Current completion plugin isn't up to date and #2075 PR, which is also
the completion plugin on the official tmuxinator repository, doesn't
work. Thus this should do the trick for the moment.
Also suppressed an error when no completion is available
2014-09-17 14:11:43 +02:00
DariusPHP
ef51e2f425 #git plugin git diff-tree --name-only added 2014-09-17 14:11:43 +02:00
nervo
9ab41ae1e8 Add Composer's local binaries to PATH 2014-09-17 14:11:43 +02:00
Igor Zoriy
d626e79cba Added 'uninstall' command to brew completion 2014-09-17 14:11:42 +02:00
Douglas S.D. Hall
a79e22023e Amended to source the original aws_zsh_completer.sh rather than
the mangled version installed into $(brew-prefix)/bin if using
homebrew installed awscli on OSX.

This was discussed here - https://github.com/Homebrew/homebrew/issues/30268
2014-09-17 14:11:42 +02:00
Adam Poskitt
9396beccd2 Update rvm.plugin.zsh
Ruby 2.1.1 -> Ruby 2.1.2.
2014-09-17 14:11:42 +02:00
Nicolas Brousse
a72798ce4f Update brew.plugin.zsh
Add `brew cleanup` command to `bubu` alias
2014-09-17 14:11:42 +02:00
Ben Zörb
a18118609e added cache:warmup alias 2014-09-17 14:11:42 +02:00
Ben Zörb
df3a8ec1e6 #2893 generalized symfony2 console directory 2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
8faa65bf58 add BUNDLED_COMMANDS functionality to bundler plugin 2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
6ea8903b17 added Bundler readme file 2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
7d9a8d8528 add pry to bundler-commands 2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
232b49b615 add spring to bundler-commands 2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
1bbd80b3ae remove double bundle exec 2014-09-17 14:11:42 +02:00
toooooooby
95ca362dab Add 'outdated' and 'platform' completions to bundler plugin 2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
4df66564b9 remove berkshelf from bundler-commands
fixes #2076
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
79b1d1b449 remove ruby from bundler-commands
related to #1587
closes #2200
closes #2561
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
dc38e7d6d9 remove spin from bundler-commands
closes #1817
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
d76bf3fbd1 remove foreman from bundler-commands
closes #1825
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
68a130db88 add sidekiq to bundler-commands
closes #2779
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
9ee4c91536 split bundler-commands into seperate lines
This makes adding, deleting and merging a lot easier.
2014-09-17 14:11:41 +02:00
Helge Rausch
1a39d7bc24 Make bundler plugin run binstubbed cmd if existing 2014-09-17 14:11:41 +02:00
kubamarchwicki
1565cb727c Spring boot autocomplete 2014-09-17 14:11:41 +02:00
Josh Datko
746d1d29e1 Adds itunes vol command.
Adds itunes vol, which takes an argument from 0 to 100 to set the
volume from the shell.
2014-09-17 14:11:41 +02:00
Nicolas Brousse
fc47eb5f34 Update brew.plugin.zsh 2014-09-17 14:11:41 +02:00
Stanislav Schultz
704f26df80 Add Ruby 2.1.1 support to rvm plugin 2014-09-17 14:11:41 +02:00
Rimenes Ribeiro
cce5da95ab Add reload and status alises to postgres 2014-09-17 14:11:41 +02:00
Josh Comer
2b4b5cd101 Fix typo in docker plugin 2014-09-17 14:11:40 +02:00
Simon Frost
31dc2aedec Add support for jira-prefix configuration file 2014-09-17 14:11:40 +02:00
Simon Frost
3043d7d0aa Fix typo in warp directory plugin 2014-09-17 14:11:40 +02:00
willmendesneto
c9455204af Add new plugin: "frontend-search" 2014-09-17 14:11:40 +02:00
fjcapdevila
da550e5095 Basic support for Docker related commands.
Add basic support for Docker related commands.
2014-09-17 14:11:40 +02:00
Rob Loach
204f53b56f Add Composer's global binaries to PATH 2014-09-17 14:11:40 +02:00
Arandi López
52b9a86e1d Add /usr/bin/subl path for who has linked sublime text there 2014-09-17 14:11:40 +02:00
Jannik Zschiesche
b01c57f93e Plugin jump: autocompletion for numbers and dots
This change fixes the autocompletion for marks which contain numbers or dots.

Fixes #2578

`\d` in sed regular expressions doesn't work (see http://stackoverflow.com/questions/14671293/why-does-d-doesnt-work-in-regular-expression-in-sed)
2014-09-17 14:11:40 +02:00
Peter Butkovic
dbbdedb4d1 added useful mvn aliases 2014-09-17 14:11:40 +02:00