Commit graph

3,133 commits

Author SHA1 Message Date
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
Chris Smith
8f5b4532c7 Adding quotes around $1 2014-09-17 14:15:18 +02:00
Chris Smith
57392609de Adding quotes around $1 2014-09-17 14:15:18 +02:00
Chris Smith
b921bf7a19 Adding quotes around $1 2014-09-17 14:15:18 +02:00
Chris Smith
28096d5cd4 Adding Textastic plugin 2014-09-17 14:15:18 +02:00
Chris Smith
f337ccc2b7 Adding Marked 2 plugin 2014-09-17 14:15:18 +02:00
Chris Smith
27e1da9546 Adding BBEdit plugin 2014-09-17 14:15:18 +02:00
Igor Zoriy
5ef2fa3960 Added 'uninstall' command to brew completion 2014-09-17 14:15:18 +02:00
sachin21
ea229f80b3 This alias is conflict cause 2014-09-17 14:15:18 +02:00
Jingwen Owen Ou
c6f46c243d Fix missing add-zsh-hook
In older version of zsh, `add-zsh-hook` is not available, causing issues like:

```
/Users/hugo/.oh-my-zsh/lib/termsupport.zsh:32: add-zsh-hook: function definition file not found
/Users/hugo/.oh-my-zsh/lib/termsupport.zsh:33: add-zsh-hook: function definition file not found
```

See https://github.com/robbyrussell/oh-my-zsh/issues/748. This patch pulls in the changes suggested in https://github.com/robbyrussell/oh-my-zsh/issues/748#issuecomment-37862691 by @mcornella and I have tested it on RHEL 5.
2014-09-17 14:15:17 +02:00
DariusPHP
13764a7cd1 #git plugin git diff-tree --name-only added 2014-09-17 14:15:17 +02:00
Mathieu Comandon
7940acb090 Don't try running chsh if user already runs zsh 2014-09-17 14:15:17 +02:00
Fredrik Fornwall
5e937a32ed Replace /usr/bin/env with env
Some environments (such as Android) does not have /usr/bin.
2014-09-17 14:15:17 +02:00
Alex Shadrin
8b31ef2341 Resets the font colour to original 2014-09-17 14:15:17 +02:00
Tom Cammann
e4e15c64b9 Update jira plugin to allow lookup of issues
Plugin now supports lookup of tickets by assignee and reporter
2014-09-17 14:15:17 +02:00
lundberg
0344721f20 New alias for git plugin: gbr == git branch --remote 2014-09-17 14:15:17 +02:00
Bruno Oliveira
be0cffd57d Inclusion of aliases for sign git commits and tags 2014-09-17 14:15:17 +02:00
Cherry NG
812426323a rounding to emoji clock 2014-09-17 14:15:17 +02:00
Celso Miranda
baa499fc20 bugfix: two wild apostrophes
oops
2014-09-17 14:15:17 +02:00
Celso Miranda
3ed61e5306 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-17 14:15:17 +02:00
Frederik Mogensen
d6e3f94e4a Added _files to complete all arguments following the first as files 2014-09-17 14:15:17 +02:00
Frederik Mogensen
45b0509ce2 Added autocompleting plugin for Android Debug Bridge (adb). 2014-09-17 14:15:17 +02:00
Adam Poskitt
c039771d63 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-17 14:15:17 +02:00
Adam Poskitt
8791b00472 Update README.textile 2014-09-17 14:15:17 +02:00