1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 01:40:09 +00:00
Commit graph

1431 commits

Author SHA1 Message Date
Robby Russell
74e7510a7d Merge pull request #3014 from allister-lundberg/git_alias_gitbranchremote
New alias for git plugin: gbr == git branch --remote
2014-08-31 11:43:59 -07:00
Robby Russell
fc365f5bdc Merge pull request #2963 from bezoerb/symfony2-autocomplete-fix
#2914 fixed symfony2 autocomplete
2014-08-31 11:36:08 -07:00
Robby Russell
5e842cf4f1 Merge pull request #3041 from takac/master
Update jira plugin to allow lookup of issues
2014-08-31 11:34:12 -07:00
Robby Russell
c22658e15d Merge pull request #3059 from chrisfsmith/feature/bbedit
Adding BBEdit plugin (OS X only)
2014-08-31 11:26:14 -07:00
Robby Russell
b88d68279e Merge pull request #3060 from chrisfsmith/feature/marked
Adding Marked 2 plugin (OS X only)
2014-08-31 11:25:58 -07:00
Robby Russell
3577fba612 Merge pull request #3058 from chrisfsmith/feature/textastic
Adding Textastic plugin (OS X only)
2014-08-31 11:25:29 -07:00
Robby Russell
c207c83968 Merge pull request #1755 from johnjohndoe/feature/adb-autocompletion
Add autocompletion for adb
2014-08-31 11:04:55 -07:00
Chris Smith
9bf5b90c81 Adding README.md and renaming plugin 2014-08-31 13:01:21 -05:00
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
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
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
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
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
DariusPHP
5d6c73d7d3 #git plugin git diff-tree --name-only added 2014-08-22 10:21:38 +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
lundberg
9a0196dbf7 New alias for git plugin: gbr == git branch --remote 2014-08-10 12:01:47 -07: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
e5ac5009a4 Update rvm.plugin.zsh
Ruby 2.1.1 -> Ruby 2.1.2.
2014-07-31 21:30:15 +01:00
Nicolas Brousse
877d55ce92 Update brew.plugin.zsh
Add `brew cleanup` command to `bubu` alias
2014-07-20 13:33:26 +02:00
Ben Zörb
bb928b59c4 #2914 fixed symfony2 autocomplete 2014-07-17 11:27:00 +02:00
Christian Köstlin
39a1e2a083 gem plugin: added _files to install command
is useful if you want to install a local gem from the filesystem
2014-07-16 12:27:01 +02:00
ncanceill
7478b754a1 make sure cache dir exists, just like log dir 2014-07-16 12:27:01 +02:00
ncanceill
5756ea0101 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-07-16 12:27:01 +02:00
Markus Faerevaag
a6b655fae9 [wd] v0.2.2: Added MIT-License 2014-07-16 12:27:01 +02:00
Robby Russell
cea29ff7ce Merge pull request #2914 from bezoerb/symfony2-general
generalized symfony2 console directory
2014-07-16 00:08:11 -07:00
Markus Faerevaag
346f6b7d24 [wd] v0.3.1: Improved completion and bug fixes 2014-07-15 17:44:23 +02:00
Thomas Kriechbaumer
4b997429b3 add BUNDLED_COMMANDS functionality to bundler plugin 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
34bc91e79d added Bundler readme file 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
b007fee187 add pry to bundler-commands 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
11f0d273b5 add spring to bundler-commands 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
cfc98d3f8c remove double bundle exec 2014-07-15 16:42:23 +02:00