Commit Graph

3913 Commits

Author SHA1 Message Date
Robby Russell
c07bf981c3 Merge pull request #1504 from jediant/master
Exit early from git plugin if not in git repo.
2014-08-31 10:59:55 -07:00
Chris Smith
d7f77f818d Adding README.md 2014-08-31 12:56:23 -05:00
Chris Smith
a8dad6fa87 Adding README.md 2014-08-31 12:55:46 -05:00
Robby Russell
6caed46356 Merge pull request #2941 from mcornella/fix-pass-completion
Update pass completion and fix syntax and autoloading
2014-08-31 10:55:35 -07:00
Robby Russell
3e30b4d2d1 Merge pull request #2922 from ncanceill/easymerge
Easy-to-Merge via @ncanceill... our hero!
2014-08-31 10:46:31 -07:00
Robby Russell
fcd55f3a92 Merge pull request #2845 from mfaerevaag/master
[wd] New minor release
2014-08-31 10:45:40 -07:00
Robby Russell
958c8f4390 Merge pull request #3045 from fornwall/remove-usr-bin
Replace /usr/bin/env with env
2014-08-31 10:40:19 -07:00
Robby Russell
be578d9e7a Merge pull request #3053 from jingweno/patch-1
Fix missing add-zsh-hook
2014-08-31 10:39:03 -07:00
Robby Russell
a5cbd31074 Merge pull request #3065 from posva/tmuxinator-update
Update tmuxinator autocompletion
2014-08-31 10:38:31 -07:00
Robby Russell
686f29f07d Merge pull request #3052 from DariusPHP/master
#git plugin git diff-tree --name-only added
2014-08-31 10:28:28 -07:00
Robby Russell
a1c5abf6bf Merge pull request #3055 from sachin21/remove_alias
This alias is conflict cause.
2014-08-31 10:25:34 -07:00
Robby Russell
4641130357 Merge pull request #3068 from nervo/patch-1
Add Composer's local binaries to PATH
2014-08-31 10:23:28 -07:00
Robby Russell
b43e8ab723 Merge pull request #3057 from igorzoriy/master
Added 'uninstall' command to brew completion
2014-08-31 10:18:30 -07:00
Robby Russell
6d5d67a35d Merge pull request #3067 from tacgnol/AWS
Fix issue with homebrew installed awscli
2014-08-31 10:17:21 -07:00
Robby Russell
e425ddc0ef Merge pull request #2766 from mcornella/add-contributing-file
Add a CONTRIBUTING file to instruct people on issues and pull requests
2014-08-31 10:16:28 -07:00
nervo
14f055d0bb Add Composer's local binaries to PATH 2014-08-31 15:41:02 +02:00
Douglas S.D. Hall
f492207329 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-08-30 17:20:28 +01:00
Eduardo San Martin Morote
cd98283a92 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-08-29 10:40:08 +02:00
Marc Cornellà
142a6c7fd5 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-08-29 00:39:33 +02:00
Marc Cornellà
17dd5792b4 Update pass completion to upstream
Conflicts:
	plugins/pass/_pass
2014-08-29 00:39:33 +02:00
Santiago Borrazás
25a3244353 Added a link to the file's license and added the commiter as plugin maintaner. 2014-08-29 00:39:33 +02:00
Marc Cornellà
1e2abe5d4e Categories of issues in oh-my-zsh (work-in-progress) 2014-08-29 00:38:12 +02:00
Marc Cornellà
1aadd63cfc Add CONTRIBUTING.md file general structure 2014-08-29 00:38:12 +02:00
Chris Smith
1b4d426613 Adding quotes around $1 2014-08-27 08:34:17 -05:00
Chris Smith
9be81015d0 Adding quotes around $1 2014-08-27 08:31:18 -05:00
Chris Smith
362f2a56d2 Adding quotes around $1 2014-08-27 08:27:31 -05:00
Chris Smith
325c18736e Adding Textastic plugin 2014-08-26 08:37:04 -05:00
Chris Smith
9eb2118c55 Adding Marked 2 plugin 2014-08-26 08:36:16 -05:00
Chris Smith
e20ce81c66 Adding BBEdit plugin 2014-08-26 08:34:17 -05:00
Igor Zoriy
ee33cee83e Added 'uninstall' command to brew completion 2014-08-26 01:05:13 +07:00
sachin21
ac053f4211 This alias is conflict cause 2014-08-24 00:50:54 +09:00
Jingwen Owen Ou
dc9e1764cf 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-08-22 15:59:17 -07:00
Ján Koščo
b3d27be944 Update seach parameter 2014-08-22 23:12:02 +02:00
Ján Koščo
aac85f095e Proper handling of tags 2014-08-22 23:11:52 +02:00
DariusPHP
5d6c73d7d3 #git plugin git diff-tree --name-only added 2014-08-22 10:21:38 +03:00
Mathieu Comandon
91ba6d9887 Don't try running chsh if user already runs zsh 2014-08-21 12:47:48 +02:00
Fredrik Fornwall
dac2a6e27a Replace /usr/bin/env with env
Some environments (such as Android) does not have /usr/bin.
2014-08-20 23:52:05 +02:00
Alex Shadrin
eee7345f1f Resets the font colour to original 2014-08-20 13:57:28 +03:00
Tom Cammann
df1b0b3289 Update jira plugin to allow lookup of issues
Plugin now supports lookup of tickets by assignee and reporter
2014-08-19 15:42:39 +01:00
Daniel Oaks
49e10ae449 Make 'ys' theme use hg repo info too 2014-08-14 00:01:35 +10:00
lundberg
9a0196dbf7 New alias for git plugin: gbr == git branch --remote 2014-08-10 12:01:47 -07:00
Bruno Oliveira
45abe764e5 Inclusion of aliases for sign git commits and tags 2014-08-09 12:26:35 -03:00
Cherry NG
99e74b0498 rounding to emoji clock 2014-08-09 21:40:56 +08:00
Celso Miranda
7d208be2a1 bugfix: two wild apostrophes
oops
2014-08-09 01:09:06 +01:00
Celso Miranda
78a7c0c6ae 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-08-09 01:04:28 +01:00
Frederik Mogensen
8ad9122ba4 Added _files to complete all arguments following the first as files 2014-08-06 13:51:58 +02:00
Frederik Mogensen
89f1d94a30 Added autocompleting plugin for Android Debug Bridge (adb). 2014-08-06 13:51:58 +02:00
Adam Poskitt
fdb30392b1 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-08-04 15:10:11 +01:00
Adam Poskitt
397a9f7b7b Update README.textile 2014-08-02 11:43:32 +01:00
Jim Remsik
4f1ee6c1ee Add gap (git add --patch) 2014-08-01 20:16:33 -05:00