Commit graph

3,115 commits

Author SHA1 Message Date
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
Jim Remsik
cb8c1320db Add gap (git add --patch) 2014-09-17 14:14:44 +02:00
Carlos Chacin
1e4409fcb9 TomEE maven plugin + integration-test in common life-cycle 2014-09-17 14:14:44 +02:00
Josh Medeski
c88e3809e2 WP-CLI plugin init 2014-09-17 14:14:44 +02:00
Guerki
c3e678b2d9 Run Web-search as a Background Process with Nohup 2014-09-17 14:14:44 +02:00
Christian Höltje
9fb6dd7bec Use $OSTYPE instead of uname to speed things up
The $OSTYPE variable is set at ZSH compile time and can be safely used
to determine the OS of the system. e.g. darwin (os x)
2014-09-17 14:14:44 +02:00
Christian Höltje
ce1dfa978c Trust but verify 'scutil' to return ComputerName
Apparently, it is possible to set up a Mac such that
`scutil --get ComputerName` hasn't been set.

This change checks if that fails and falls back to the original
mechanism.

Closes #2155
Closes #2183
2014-09-17 14:14:44 +02:00
Ben Zörb
9f6d971a5f #2914 fixed symfony2 autocomplete 2014-09-17 14:14:44 +02:00
Christian Köstlin
e21b5356e1 gem plugin: added _files to install command
is useful if you want to install a local gem from the filesystem
2014-09-17 14:14:44 +02:00
ncanceill
3521b182fb make sure cache dir exists, just like log dir 2014-09-17 14:14:44 +02:00
ncanceill
116572a0f1 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:14:44 +02:00
Markus Faerevaag
1bbcdc6415 [wd] v0.2.2: Added MIT-License 2014-09-17 14:14:44 +02:00
Markus Faerevaag
084451e612 [wd] v0.3.1: Improved completion and bug fixes 2014-09-17 14:14:44 +02:00
Anton Eicher
e5977cd8f6 Added check for .git directory in current, before wasting time querying git. This saves seconds on my pc. 2014-09-17 14:14:43 +02:00
Gaetan Semet
6e238e77c1 git2 shortcut: gmom
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2014-08-11 11:14:57 +02:00
Gaetan Semet
ab4149fe7c Merge remote-tracking branch 'upstream/master' 2014-08-11 11:11:24 +02:00
Gaetan Semet
3f412e866d alias for apt-get update
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2014-08-11 11:10:26 +02:00
Robby Russell
1b7a3ea99a Merge pull request #2993 from mittalabhas1/master
Update README.textile
2014-08-01 10:34:55 -07:00
Robby Russell
36e1cff69a Merge pull request #2994 from admpsktt/patch-1
Update rvm.plugin.zsh
2014-08-01 10:32:35 -07:00