Commit graph

3,156 commits

Author SHA1 Message Date
Robby Russell
8ca39dec74 Revert "Exit early from git plugin if not in git repo." 2014-09-18 15:59:47 +02:00
Philipp Wahala
439c3de02f Symfony2 plugin look for files only 2014-09-18 15:59:47 +02:00
Philipp Wahala
fb9a0be853 Symfony2 plugin use first console found 2014-09-18 15:59:47 +02:00
Robby Russell
38673ba1c4 Revert "Add Composer's local binaries to PATH" 2014-09-18 15:59:46 +02:00
Robby Russell
90f7c06b08 Revert "Add a CONTRIBUTING file to instruct people on issues and pull requests" 2014-09-18 15:59:46 +02:00
Halil Özgür
ba3a026ece Use the library function for ruby prompt
Not everyone uses rvm and the library has already got a function for this.
2014-09-18 15:59:46 +02:00
Robby Russell
06f8e22596 Link to swag in installer... shameless profiting 2014-09-18 15:59:40 +02:00
Chris Smith
f2ce3fe117 Adding README.md and renaming plugin 2014-09-18 15:59:40 +02:00
nervo
fc6ff20887 Add Composer's local binaries to PATH 2014-09-18 15:59:40 +02:00
Marc Cornellà
e5973b5004 Update pass completion to upstream
Conflicts:
	plugins/pass/_pass
2014-09-18 15:59:40 +02:00
Santiago Borrazás
28f52667b1 Added a link to the file's license and added the commiter as plugin maintaner. 2014-09-18 15:59:12 +02:00
Marc Cornellà
55516a1682 Categories of issues in oh-my-zsh (work-in-progress) 2014-09-18 15:59:09 +02:00
Marc Cornellà
0c5effcd95 Add CONTRIBUTING.md file general structure 2014-09-18 15:59:09 +02:00
Chris Smith
404cbdce1f Adding quotes around $1 2014-09-18 15:59:09 +02:00
Chris Smith
6d17fb1617 Adding Marked 2 plugin 2014-09-18 15:58:44 +02:00
Fredrik Fornwall
374237f682 Replace /usr/bin/env with env
Some environments (such as Android) does not have /usr/bin.
2014-09-18 15:57:17 +02:00
Celso Miranda
d15a19819b bugfix: two wild apostrophes
oops
2014-09-18 15:56:35 +02:00
Celso Miranda
b2de82a2e4 Add support for local aur databases
With these simple changes the plugin checks for the local AUR database and updates the aliases so it can update it when you issue a `pacupd` or `yaupd`.
2014-09-18 15:56:35 +02:00
Frederik Mogensen
3200705468 Added _files to complete all arguments following the first as files 2014-09-18 15:56:17 +02:00
Frederik Mogensen
f1f5832a42 Added autocompleting plugin for Android Debug Bridge (adb). 2014-09-18 15:56:17 +02:00
Adam Poskitt
83e89d0fa3 Update half-life.zsh-theme
Add spaces before bullet-points to more easily distinguish them from one another and the rest of the prompt when using smaller font-sizes and do not add a blank line prior to prompt output; if there's a desire for spacing, one can use their terminal's line-height to achieve this.
2014-09-18 15:56:01 +02:00
Adam Poskitt
acbbf7659b Update README.textile 2014-09-18 15:55:40 +02:00
Ben Zörb
50d127be57 #2914 fixed symfony2 autocomplete 2014-09-18 15:54:28 +02:00
Anton Eicher
d590990ca9 Added check for .git directory in current, before wasting time querying git. This saves seconds on my pc. 2014-09-18 15:54:13 +02:00
Robby Russell
bd478d942f Revert "Exit early from git plugin if not in git repo." 2014-09-17 14:15:19 +02:00
Michael Stucki
ffb897a5e2 Support dynamically defined Vagrant machines 2014-09-17 14:15:19 +02:00
Philipp Wahala
0104ad3bee Symfony2 plugin autocomplete for app/console and bin/console 2014-09-17 14:15:19 +02:00
Philipp Wahala
48425b41f0 Symfony2 plugin look for files only 2014-09-17 14:15:19 +02:00
Philipp Wahala
93db0c168e Symfony2 plugin use first console found 2014-09-17 14:15:19 +02:00
Robby Russell
4c552370b2 Revert "Add Composer's local binaries to PATH" 2014-09-17 14:15:19 +02:00
Robby Russell
6ae4e2e9b6 Revert "Add a CONTRIBUTING file to instruct people on issues and pull requests" 2014-09-17 14:15:19 +02:00
Joshua Medeski
e0291816a4 add wp-cli plugin readme 2014-09-17 14:15:18 +02:00
AJ Henriques
055274da2c add git difftool alias (gdt) 2014-09-17 14:15:18 +02:00
Letian Zhang
22ce742aac fix missing add-zsh-hook in pygmalion.zsh-theme
Fix "command not found: add-zsh-hook" since #3053 removes `autoload -U add-zsh-hook`
2014-09-17 14:15:18 +02:00
Halil Özgür
f92249fb7e Use the library function for ruby prompt
Not everyone uses rvm and the library has already got a function for this.
2014-09-17 14:15:18 +02:00
Michael Stucki
ca6940be5f Improve support for Vagrant VM definitions 2014-09-17 14:15:18 +02:00
Tobias Preuss
fe77de8d64 Add README.md for adb-autocompletion plugin. 2014-09-17 14:15:18 +02:00
Robby Russell
d75bc4a245 Link to swag in installer... shameless profiting 2014-09-17 14:15:18 +02:00
Robby Russell
ac552974fc Adding link to the store for swag in upgrade process 2014-09-17 14:15:18 +02:00
Chris Smith
2d5f1382e7 Adding README.md and renaming plugin 2014-09-17 14:15:18 +02:00
Chris Smith
1f42f8dde9 Adding README.md 2014-09-17 14:15:18 +02:00
Chris Smith
3f1bc90579 Adding README.md 2014-09-17 14:15:18 +02:00
nervo
d327455a09 Add Composer's local binaries to PATH 2014-09-17 14:15:18 +02:00
Douglas S.D. Hall
0788061494 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:15:18 +02:00
Eduardo San Martin Morote
fe3b5ac5f6 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:15:18 +02:00
Marc Cornellà
6214b9a203 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:15:18 +02:00
Marc Cornellà
75baf31b8c Update pass completion to upstream
Conflicts:
	plugins/pass/_pass
2014-09-17 14:15:18 +02:00
Santiago Borrazás
a20523ba0e Added a link to the file's license and added the commiter as plugin maintaner. 2014-09-17 14:15:18 +02:00
Marc Cornellà
ef3b0720ab Categories of issues in oh-my-zsh (work-in-progress) 2014-09-17 14:15:18 +02:00
Marc Cornellà
8ec5f841b4 Add CONTRIBUTING.md file general structure 2014-09-17 14:15:18 +02:00