Commit graph

1789 commits

Author SHA1 Message Date
Marc Cornellà
5fe22fcbc6 Clean up and fix +1/-0 syntax to work as expected
This change follows this proposed behaviour:

 Ctrl+Shift+Left:  move to last visited directory
 Ctrl+Shift+Right: move to next visited directory

an alternative behaviour would be:

 Ctrl+Shift+Left:  move directory to the left in `dirs` output
 Ctrl+Shift+Right: move directory to the right in `dirs` output

It also introduces `setopt nopushdminus` as a way to standardise
pushd syntax. It's value wasn't clear before, which has been the
cause of so many pull requests regarding this plugin not working
in some environments.
2015-02-10 19:18:14 +01:00
Robby Russell
13e5afe805 Merge pull request #3164 from nailor/fix-deactivate-bug
virtualenvwrapper: Deactivate only if in virtualenv
2015-02-10 07:28:51 -08:00
Robby Russell
811f1f9eb9 Merge pull request #3329 from capeterson/master
Improved ant completion
2015-02-10 07:28:39 -08:00
Chris Peterson
349493a0b8 Fix for ant targets with leading dash
As suggested in https://github.com/robbyrussell/oh-my-zsh/pull/3329#issuecomment-72062236
2015-02-09 13:12:02 -08:00
Chris Peterson
013b2bffcf Change ant target enumeration
Make use of ant's project help feature instead of trying to parse XML with regex (see: http://stackoverflow.com/a/1732454/740787).
This is a behavioral change that does a few things:
 • adds support for ant imports, which were previously not recognized as possibly containing targets
 • supresses targets with no description, as these are conventionally for internal use only
2015-02-09 13:12:02 -08:00
Chris Peterson
7f636ba590 Backwards logic in newer check.
Regen .ant_targets only if it's newer than build.xml? Yeah, that seems wrong.
2015-02-09 13:12:02 -08:00
Deepu Mohan Puthrote
fc606d91a0 Added alias for downloading maven dependencies' sources and javadocs 2015-02-07 16:57:53 +00:00
Mathias Geat
2e0da6864b add chucknorris plugin 2015-02-05 07:43:42 +01:00
Gabor Marton
7de44dbdb7 Added trapwinch to vi-mode plugin. 2015-02-04 12:56:58 +01:00
Bilal Budhani
431faa924e Creates Ember-cli plugin and Adds its aliases 2015-02-04 15:39:34 +05:30
Tejas Bubane
8cb97d6f22 Add alias for git add --all 2015-02-04 12:24:17 +05:30
Michael Robinson
8ccfc3d444 Removing 'local' usage to prevent issue when installed with antigen
Error encountered when installed with antigen: "chpwd:2: no such file or directory:".  Solution described in https://github.com/zsh-users/antigen/issues/75
2015-02-02 11:52:07 +13:00
Marc Cornellà
e60458793a Switch newer-than logic to get the desired behavior
In the old version, the function returned true (0) if the cache file
was newer than the Cakefile, which was *always* unless the Cakefile
had been updated. Therefore we generated the file every time unless
the Cakefile was updated, which was precisely when we needed to
regenerate the cache file.

Now it generates the cache file only when the Cakefile has been
updated.
2015-02-01 23:32:38 +01:00
Robby Russell
550ccca91c Merge pull request #3478 from stephenrjohnson/custom_cache_dir
Allow custom cache dir
2015-01-31 06:23:50 -06:00
Robby Russell
147ebd60d9 Merge pull request #3490 from lmartins/master
Fix Plugin commands
2015-01-31 06:09:01 -06:00
Darius Grigalevicius
c4d3de1ea0 added server:run alias 2015-01-28 14:02:36 +02:00
Markus Faerevaag
4533c7a31c [wd] Update to v0.4.1 2015-01-26 00:13:39 +01:00
Josh Sherman
49549d9558 Update git-hubflow.plugin.zsh 2015-01-20 21:25:07 -05:00
Josh Sherman
fd3a34844f Update git-flow.plugin.zsh 2015-01-20 21:24:41 -05:00
Harsh Singh
b2f8764855 Adds completions to wp-cli plugin 2015-01-15 12:55:32 -06:00
Luis Martins
3abc2a4375 Fix Plugin commands 2015-01-12 17:26:04 +00:00
Yu Jiang
3c4998319a Update django.plugin.zsh
activate django plugin on command "django-admin"
2015-01-12 21:57:00 +08:00
CkEsc
5b90092555 Sublime Text plugin: added sst alias for sudo run sublime 2015-01-11 17:52:08 +03:00
Andrey Sitnik
f997ed7ed8 Add Fedora support for command-not-found plugin 2015-01-10 15:38:49 +01:00
Dzianis Dashkevich
a55a313328 Add rdms alias to rails plugin 2015-01-09 16:46:02 +03:00
Stephen
ceb42ecdb6 Update /home/srj/.oh-my-zsh/cache references 2015-01-08 16:38:05 +00:00
Jyrki Pulliainen
833e6f5958 virtualenvwrapper: Deactivate only if in virtualenv
If user manually deactivates the virtualenv when using this mode, zsh
will produce following error:

    deactivate:12: command not found: virtualenv_deactivate

To avoid this, check that the VIRTUAL_ENV flag is set before trying to
automatically deactivate the virtual environment.

Fixes #2185
2015-01-07 18:17:29 +01:00
rexk
8790fa3723 go plugin upgrade for version 1.4 2014-12-30 14:53:31 -08:00
liuxiang
957564ab9f Add completion for httpie 2014-12-27 23:56:57 +08:00
Robby Russell
da1ca8876e Merge pull request #3404 from ekaragodin/master
Added Yii2 command completion
2014-12-20 12:40:47 -08:00
Robby Russell
0c47d8cfe4 Merge pull request #3146 from typekpb/tmux-aliases
additional tmux aliases
2014-12-20 12:38:43 -08:00
Robby Russell
304e8f0480 Merge pull request #3338 from eripa/chruby_fix
Fix chruby plugin to not complain if chruby is *not* installed
2014-12-20 12:37:18 -08:00
Robby Russell
b0ad3d7c70 Merge pull request #3352 from benjaoming/virtualenvwrapper_workon_unset
Throw an error message when $WORKON_HOME is not set
2014-12-20 12:37:05 -08:00
Robby Russell
fe2ccb30af Merge pull request #3397 from peteches/master
Fixed output issues webith websearch plugin.
2014-12-20 12:36:27 -08:00
Robby Russell
5167450ef9 Merge pull request #3424 from bergvandenp/docker_exec
added exec command to docker plugin
2014-12-19 20:30:59 -08:00
Robby Russell
4a56c6b30b Merge pull request #3303 from iml/brew-update
Remove deprecated brew commands, update core commands
2014-12-19 20:27:54 -08:00
Robby Russell
1b2d7fd9e9 Merge pull request #3362 from emarashliev/master
Added Xcode alias for deleting Derived Data.
2014-12-19 20:26:50 -08:00
Robby Russell
dc9af89669 Merge pull request #3372 from bbiao/compatible-with-new-autojump
autojump installed from github has mv the autojump.zsh to $HOME/.autojum...
2014-12-19 20:26:08 -08:00
Robby Russell
9e794a5d3e Merge pull request #3410 from Superbil/master
Fix aws.plugins.zsh check rule
2014-12-19 20:20:21 -08:00
Paul van den Berg
9e5f0f0e9d added exec command to docker plugin 2014-12-18 23:22:48 +01:00
Christophe Coevoet
f7deb52c47 Update the list of Heroku Postgres commands 2014-12-16 17:35:08 +01:00
Superbil
7931d5ce1a
Fix aws.plugins.zsh check rule
Check _aws_zsh_completer_path had exist or not
2014-12-16 00:51:22 +08:00
ekaragodin
00ff1bbd1c Updated Yii2 command completion 2014-12-15 21:37:38 +06:00
ekaragodin
7488e9b510 Add yii2 readme 2014-12-15 08:18:18 +06:00
Robby Russell
0a96bb1577 Merge pull request #2094 from frantzmiccoli/phing-fix
Phing plugin improvment
2014-12-14 16:44:06 -08:00
Robby Russell
fe75c968ef Merge pull request #3399 from ryan-robeson/add-itunes-shuffle-command-to-osx-plugin
Add itunes shuffle command to OSX plugin.
2014-12-14 16:35:45 -08:00
Robby Russell
77bfdc69ab Merge pull request #3395 from vmalloc/patch-1
Fix dircycle plugin
2014-12-14 16:35:02 -08:00
Robby Russell
eced76e0fd Merge pull request #3326 from DanielFGray/master
ignore any grep aliases that might be defined
2014-12-14 16:32:11 -08:00
ekaragodin
08b9f8d677 Added Yii2 command completion 2014-12-14 11:43:52 +06:00
Ryan Robeson
43a2e24c25 Add itunes shuffle command to OSX plugin.
Added shuffle functionality to the itunes command in the OSX plugin.
iTunes 12 doesn't support setting the "shuffle" property on the playlist
from what I've read, so this simulates the user interacting with the
iTunes interface. The toggle option "clicks" the shuffle button in the
Now Playing area. This has the effect of toggling the shuffle setting on
whatever is currently playing. The on and off options use the Shuffle
menu bar items.

Usage: itunes shuffle [on|off|toggle]
2014-12-12 17:48:17 -05:00
Pete "Peteches" McCabe
1d2c1e8ab8 Fixed output issues webith websearch plugin.
- if user has rm set as an alias to 'rm -i' user is prompted to whether to
  remove the nohup.out file.

 $ ddg fools
	nohup: ignoring input and appending output to ‘nohup.out’
	rm: remove regular empty file ‘nohup.out’?

- if output redirected to a file nohup will not create nohup.out and rm is
  unecessary.
2014-12-12 17:37:35 +00:00
Rotem Yaari
9677cfb34e Fix dircycle plugin
dircycle right did not behave as expected and was fixed
2014-12-11 23:41:47 +02:00
ZHANG Biao
a19d1d1f05 autojump installed from github has mv the autojump.zsh to $HOME/.autojump/share/autojump/autojump.zsh 2014-12-04 11:38:37 +08:00
Ion Marusic
011f25d492 Fixed command autocomplete for Symfony 2.6.x 2014-12-02 20:10:47 +02:00
Emil Marashliev
575bb91b5f Added Xcode alias for deleting Derived Data. 2014-12-01 13:34:18 +02:00
benjaoming
4b05e548d0 Throw an error message when $WORKON_HOME is not set
Took me a while to figure this one out, and I have a default installation of virtualenvwrapper -- this is a soft fix, just put an error message. But perhaps the fix should be to use the default value `~/.virtualenvs`.
2014-11-28 14:41:34 +01:00
Robby Russell
43aa3783f8 Merge pull request #2448 from gawashburn/master
Fix autojump script to support Nix installations
2014-11-27 20:03:06 -08:00
Robby Russell
5acfdf5c90 Merge pull request #2871 from wrboyce/extract-pigz
use pigz if available in extract plugin
2014-11-27 20:02:40 -08:00
Robby Russell
4610add16d Merge pull request #3092 from MWers/aws-brew-issue
[aws plugin] Changed brew cmd to properly report if awscli is installed via homebrew
2014-11-27 20:02:08 -08:00
Will Boyce
db8eacf6fd use pigz if available in extract plugin 2014-11-26 14:20:00 +00:00
Eric Ripa
1dfadc734c Fix chruby plugin to not complain if chruby is *not* installed 2014-11-24 09:54:50 +01:00
Kravchuk S.V
0c04470f63 [~] fix plugin pj
bce74975d0
2014-11-16 22:38:27 +03:00
DanielFGray
00ec11d3c0 ignore any grep aliases that might be defined 2014-11-16 02:47:35 -06:00
Geoffrey Washburn
923d2c85b4 Fix autojump script to support Nix installations 2014-11-15 13:32:34 -05:00
Manfred Touron
95d5f2c641 [boot2docker plugin] Initial version 2014-11-13 18:59:04 +01:00
Tim O'Brien
fd69c34e0c Add screenshots to readme 2014-11-08 14:20:37 -08:00
Tim O'Brien
98fc8dd91a Fix for OS X when no window id is returned (like on the desktop) 2014-11-08 14:16:56 -08:00
Ian Lancaster
8bd8597e12 Remove deprecated brew commands, update core commands
`brew services` and `brew server` were moved to homebrew-boneyard.
2014-11-08 05:03:24 -05:00
Tim O'Brien
cbec1d77b2 Add window ID fallback for windows.
- maybe someday use GetForegroundWindow() from User32.lib ...
2014-11-07 10:58:11 -08:00
Tim O'Brien
3d376bbd5b Fix renamed method issue. 2014-11-07 08:35:31 -08:00
Benjamin Stier
11253336cf Fixes the profiles-plugin
An error was introduced with 7f75bb9, which uses special vars. This is the
fix.
2014-11-07 10:47:27 +01:00
Tim O'Brien
adafe271f0 add cygwin windows support with notifu, add to readme 2014-11-06 10:35:07 -08:00
Tim O'Brien
0b0cc2cdea Fixed math on linux, removed debug echo. 2014-11-06 10:34:47 -08:00
Tim O'Brien
e16d3e45d3 Add bgnotify plugin, a cross-platform background notifier! 2014-11-06 10:34:26 -08:00
Marc Cornellà
95d795e8ca Change all hostname calls for $HOST or $SHORT_HOST 2014-11-06 18:33:56 +01:00
Marc Cornellà
4310a15de5 Change all pwd calls for $PWD variable
This avoids spawning additional processes as $PWD **always** contains
the current working directory.
2014-11-06 18:33:56 +01:00
Marc Cornellà
74177c5320 Change all whoami calls for $USER variable
This avoid spawning additional processes, as the $USER variable will
**always** contain the current logged-in user.
2014-11-06 18:33:56 +01:00
Robby Russell
7034b01cd1 Merge pull request #3213 from nikhgupta/features/fix-emoji-clock
added support for GNU version of `date`
2014-11-06 09:28:30 -08:00
Robby Russell
8a51bfd76b Merge pull request #3108 from mfaerevaag/master
[wd] New minor version (v0.4)
2014-11-06 09:28:08 -08:00
Robby Russell
35f1a23735 Merge pull request #3131 from halilim/remove-j-alias
Remove j alias for autojump
2014-11-06 09:27:56 -08:00
Robby Russell
510055a03a Merge pull request #3081 from pavoljuhas/master
update the scd plugin for smart change of directory.
2014-11-06 09:27:43 -08:00
Robby Russell
6118446575 Merge pull request #2974 from elliottwilliams/patch-1
Fix osx function: "not valid in this context"
2014-11-06 09:27:16 -08:00
Robby Russell
e423ca04c8 Merge pull request #2976 from shammellee/patch-1
typo
2014-11-06 09:26:56 -08:00
Robby Russell
57ff83db59 Merge pull request #2946 from moinakg/master
Solaris portability tweaks.
2014-11-06 09:26:48 -08:00
Robby Russell
1b65c55fcf Merge pull request #2959 from crkochan/fix_rake_command
Fix for recusion limit hit for _rake_command alias
2014-11-06 09:19:49 -08:00
Robby Russell
2984d2dc4b Merge pull request #2168 from riyad/modernize-virtualenv
Modernize the virtualenv plugin
2014-11-06 09:14:17 -08:00
Robby Russell
ed01122804 Merge pull request #1604 from franklouwers/master
Improve pj-plugin to support projects with spaces in their names + optimise code
2014-11-06 09:13:56 -08:00
Robby Russell
548b9c447d Merge pull request #3224 from Neal/xcode-simulator-fix
Update path for the iOS simulator.
2014-11-06 09:13:40 -08:00
Robby Russell
ba6bf248b4 Merge pull request #3230 from willmendesneto/fix-compass-doc-search
Fix error using compass search alias
2014-11-06 09:13:24 -08:00
Pavol Juhas
b6012bc2c3 Update to the upstream smart-change-directory.
Synced with the master branch
pavoljuhas/smart-change-directory@20b5a80cf0.
2014-11-02 12:33:56 -05:00
Neal
071de5fb39 Make the simulator alias work with older Xcode versions as well. 2014-10-27 22:17:26 -05:00
Marc Cornellà
b452cafb16 Follow-redirect and silent mode curl throughout gitignore
This commit completes previous efforts and standardizes both curl commands
into using silent mode and following redirects in case the URL changes
again in the future.
2014-10-22 18:13:15 +02:00
WooParadog
04d1428fcb Fix gitignore curl, should follow redirects 2014-10-22 18:13:15 +02:00
Alex Shaindlin
69a0b280c7 Fix misspellings in gitignore plugin 2014-10-22 18:13:15 +02:00
Andrii Kostenko
b9a11b16fe fixed URL on github.io
github.io moved to https and http returns 301 redirect
2014-10-22 18:13:15 +02:00
Markus Faerevaag
9f801ff48d [wd] fix space in path 2014-10-21 09:54:15 +02:00
willmendesneto
6f1eb081e3 Fix error using compass search alias 2014-10-18 11:06:24 -03:00
Neal
d794a502f6 Update path for the iOS simulator. 2014-10-14 13:57:19 -05:00
Nikhil Gupta
71ee0d7b2b added support for GNU version of date 2014-10-14 20:44:31 +05:30
Moinak Ghosh
5f38a537ce Update Solaris changes to use OSTYPE and zsh datetime module. 2014-09-16 22:29:52 +05:30
Peter Butkovic
eb0549750f additional tmux aliases 2014-09-16 10:35:43 +02:00
Giel van Schijndel
1e7c6743a7 sudo: maintain cursor position
I.e. when prefixing the current command-line with 'sudo ' maintain the
current cursor position instead of jumping to the end of the line.
2014-09-15 15:36:34 +02:00
Halil Özgür
7a5d68c963 Remove j alias for autojump
j alias conflicts with autojump's j() function. Fixes #2989
2014-09-13 10:30:16 +03:00
Markus Faerevaag
b5093859af [wd] Minor bug fix in show command 2014-09-08 09:09:44 +02:00
Markus Faerevaag
6855dd4727 [wd] New minor version (v0.4) 2014-09-07 21:56:34 +02:00
Robby Russell
96e4e5dd03 Merge pull request #2811 from stucki/multiple-vagrant-machines
Support dynamically defined Vagrant machines
2014-09-05 21:16:23 +02:00
Robby Russell
4bba11dbef Merge pull request #2744 from docwhat/ostype-not-uname
Use $OSTYPE instead of uname to speed things up
2014-09-05 21:15:57 +02:00
Robby Russell
5e25913178 Revert "Exit early from git plugin if not in git repo." 2014-09-04 12:53:43 +02:00
Matt Walker
87fb118dd2 Changed brew cmd to properly report if awscli is installed via homebrew 2014-09-03 12:01:29 -07:00
Michael Stucki
ae901fa0d5 Support dynamically defined Vagrant machines 2014-09-03 16:08:27 +02:00
Philipp Wahala
8d2dd8cc6a Symfony2 plugin autocomplete for app/console and bin/console 2014-09-03 11:58:52 +02:00
Philipp Wahala
677d8b1a21 Symfony2 plugin look for files only 2014-09-03 11:36:22 +02:00
Philipp Wahala
ed6c2c9106 Symfony2 plugin use first console found 2014-09-03 11:13:21 +02:00
Robby Russell
da94f45f9c Merge pull request #3073 from ajhenriques/master
add git difftool alias (gdt)
2014-09-01 13:02:55 +02:00
Robby Russell
d21e3ee422 Merge pull request #2996 from joshmedeski/master
WP-CLI plugin init
2014-09-01 13:02:34 +02:00
Robby Russell
003f3677db Merge pull request #3070 from stucki/vagrant-vm-list-fix
Improve support for Vagrant VM definitions
2014-09-01 13:01:36 +02:00
Robby Russell
a910aef0c4 Revert "Add Composer's local binaries to PATH" 2014-09-01 13:01:01 +02:00
Joshua Medeski
b8e10ca16d add wp-cli plugin readme 2014-08-31 23:33:43 -05:00
AJ Henriques
f0d5cfdc33 add git difftool alias (gdt) 2014-08-31 20:30:42 -07:00
Michael Stucki
e7fdb028b5 Improve support for Vagrant VM definitions 2014-08-31 23:50:59 +02:00
Tobias Preuss
65f97a66c7 Add README.md for adb-autocompletion plugin. 2014-08-31 21:42:49 +02:00
Robby Russell
23bbf3cc2b Merge pull request #2986 from Guerki/master
Run web-search in background
2014-08-31 12:16:38 -07:00
Robby Russell
99fde07b8f Merge pull request #3000 from bigtiger/add-git-add-patch
Add gap (git add --patch)
2014-08-31 12:10:04 -07:00
Robby Russell
1f9b24e56b Merge pull request #2997 from cchacin/master
TomEE maven plugin + integration-test in common life-cycle
2014-08-31 12:08:08 -07:00
Robby Russell
eae6c38ea8 Merge pull request #3010 from celsomiranda/patch-1
Add support for local aur databases
2014-08-31 11:46:07 -07:00
Robby Russell
244a6f23e5 Merge pull request #3011 from cherrry/master
rounding to emoji clock
2014-08-31 11:45:10 -07:00
Robby Russell
58491bda21 Merge pull request #3012 from abstractj/git-gpg-signatures
Inclusion of aliases for sign git commits and tags
2014-08-31 11:44:57 -07:00
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
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
Jim Remsik
4f1ee6c1ee Add gap (git add --patch) 2014-08-01 20:16:33 -05:00
Nico Revin
8a43d358c1 fix paclist() for non-english locales 2014-08-01 23:32:38 +04:00
Carlos Chacin
961ca143b8 TomEE maven plugin + integration-test in common life-cycle 2014-08-01 01:59:45 -04:00
Josh Medeski
80323ec4c3 WP-CLI plugin init 2014-07-31 19:37:22 -05:00
Adam Poskitt
e5ac5009a4 Update rvm.plugin.zsh
Ruby 2.1.1 -> Ruby 2.1.2.
2014-07-31 21:30:15 +01:00
Guerki
65ce765043 Merge remote-tracking branch 'upstream/master' 2014-07-29 09:27:58 +02:00
Guerki
db3dd6d755 Run Web-search as a Background Process with Nohup 2014-07-29 09:21:10 +02:00
Christian Höltje
63bae2aba9 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-07-23 09:18:14 -04:00
Shammel Lee
0e00f0b034 typo
line 1: of => or
2014-07-22 13:25:04 -04:00
Elliott Williams
73212ded4e Fix osx function: "not valid in this context"
I have been continually having problems with the "trash" function provided by the osx plugin, getting this error:

    trash:local:2: not valid in this context:

It seems like adding quotes around the assignment in [osx.plugin.zsh#L142](https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/osx/osx.plugin.zsh#L142) fixed my problem.

Does this look good to you? Thanks!
2014-07-21 11:15:09 -04: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
Christopher Kochan
bf134e9cb3 Fix for recusion limit hit for _rake_command alias 2014-07-15 12:37:53 -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
toooooooby
20c84eaafc Add 'outdated' and 'platform' completions to bundler plugin 2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
f8ea9270eb remove berkshelf from bundler-commands
fixes #2076
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
fdbfd41090 remove ruby from bundler-commands
related to #1587
closes #2200
closes #2561
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
f5e69c6cab remove spin from bundler-commands
closes #1817
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
a22e0256a3 remove foreman from bundler-commands
closes #1825
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
c4eec0b134 add sidekiq to bundler-commands
closes #2779
2014-07-15 16:42:23 +02:00
Thomas Kriechbaumer
d29c53cb10 split bundler-commands into seperate lines
This makes adding, deleting and merging a lot easier.
2014-07-15 16:42:22 +02:00
Robby Russell
c925aabea9 Merge pull request #2885 from tsujigiri/bundler/run_binstubbed
Make bundler plugin run binstubbed cmd if existing
2014-07-15 07:40:48 -07:00
Robby Russell
6eefbe24a3 Merge pull request #2935 from kubamarchwicki/mvn-plugin-spring-boot
Enable Spring-boot autocomplete
2014-07-15 07:40:19 -07:00
Robby Russell
14439e0571 Merge pull request #2834 from jbdatko/master
Adds itunes vol command.
2014-07-15 07:39:10 -07:00
Robby Russell
9f8c5d0021 Merge pull request #2745 from nicolas-brousse/patch-1
Add alias for "brew update && brew upgrade"
2014-07-15 07:37:22 -07:00
Robby Russell
decc0d1d36 Merge pull request #2670 from trrbl/master
Add Ruby 2.1.1 support to rvm plugin
2014-07-15 07:36:59 -07:00
Robby Russell
4a36bb144b Merge pull request #2108 from rimenes/add-status-reload-to-postgres
Add reload and status aliases to postgres
2014-07-15 07:36:33 -07:00
Robby Russell
7e8177b094 Merge pull request #2953 from jjcomer/master
Fix typo in docker plugin
2014-07-15 07:31:32 -07:00
Robby Russell
18eb1939fe Merge pull request #2955 from SFrost007/jira-prefix
Add support for jira-prefix configuration file
2014-07-15 07:30:35 -07:00
Simon Frost
9d76784b3e Add support for jira-prefix configuration file 2014-07-15 14:22:24 +01:00
Simon Frost
6adc89131c Fix typo in warp directory plugin 2014-07-15 14:20:39 +01:00
Ben Zörb
392af393e8 added cache:warmup alias 2014-07-15 15:13:13 +02:00
Josh Comer
6b3a723c37 Fix typo in docker plugin 2014-07-14 16:41:57 -07:00
Moinak Ghosh
5e328e3a9c Solaris portability tweaks. 2014-07-11 18:41:49 +05:30
kubamarchwicki
8d762e46f7 Spring boot autocomplete 2014-07-07 15:12:47 +02:00
Robby Russell
5728a5608d Merge pull request #2892 from willmendesneto/dev
Add new plugin: "frontend-search"
2014-07-01 09:31:22 -07:00
Ben Zörb
14ebcc83be #2893 generalized symfony2 console directory 2014-07-01 07:48:00 +02:00
Helge Rausch
480ca22058 Make bundler plugin run binstubbed cmd if existing 2014-06-28 13:23:40 +02:00
fjcapdevila
08632bb178 Basic support for Docker related commands.
Add basic support for Docker related commands.
2014-06-28 11:30:26 +02:00
Rob Loach
ce9ec85c63 Add Composer's global binaries to PATH 2014-06-28 10:12:20 +02:00
Arandi López
dbca185b05 Add /usr/bin/subl path for who has linked sublime text there 2014-06-28 10:12:20 +02:00
Jannik Zschiesche
75c02dd53e Plugin jump: autocompletion for numbers and dots
This change fixes the autocompletion for marks which contain numbers or dots.

Fixes #2578

`\d` in sed regular expressions doesn't work (see http://stackoverflow.com/questions/14671293/why-does-d-doesnt-work-in-regular-expression-in-sed)
2014-06-28 10:12:20 +02:00
Peter Butkovic
bc2e3ff15a added useful mvn aliases 2014-06-28 10:12:20 +02:00
Helge Rausch
f2b81e2977 Add spring to bundled commands 2014-06-28 10:12:20 +02:00
Marc Cornellà
340da08b9a Add missing quotes to within-bundler-project function 2014-06-28 10:12:19 +02:00
Fenhl
82d557a84e Add pip2 and pip-2.7 support to pip plugin 2014-06-28 10:12:19 +02:00
Fenhl
89a5075528 Add pip3 completion support to pip plugin 2014-06-28 10:12:19 +02:00
willmendesneto
45b6129711 Add new plugin: "frontend-search" 2014-06-19 23:27:40 -03:00
frantzmiccoli
9c11202fde fix -nt usage 2014-06-13 20:28:37 +02:00
Zbigniew Siciarz
1274a5e3ab Added cabal freeze subcommand. 2014-06-09 21:03:09 +02:00
Zbigniew Siciarz
1ab0f771bc Updated cabal commands for Cabal 1.20 2014-06-08 12:14:41 +02:00
Zbigniew Siciarz
859a37d4f1 Fixed typo in cabal plugin. 2014-06-08 12:14:41 +02:00
Zbigniew Siciarz
d3acea3965 Updated cabal plugin with Cabal 1.18 commands. 2014-06-08 12:14:01 +02:00
Hong Xu
50fe95a69e Autojump plugin: check user local installation first.
Users may install their own version of autojump to override the system
installed version.
2014-06-08 11:06:13 +02:00
Pieter Kokx
519d37fc38 Vundle plugin now works with submodules.
If you are using a submodule, ~/.vim/bundle/vundle/.git is a file,
not a directory. So I changed the test for that.
2014-06-08 10:46:33 +02:00
Gaetan Semet
99c9dbed47 New alias for repo: ru and rst
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2014-06-08 10:41:51 +02:00
Julia Medina
e04d3e0563 Add startproject to django command completions 2014-06-08 10:35:00 +02:00
Tim Kelty
f7948ace66 Adding compression to rsync commands
This speeds up transfers significantly. No reason not to include it as far as I know.
2014-06-08 10:33:54 +02:00
Chris Krycho
f82092a0e7 Add a command to show unresolve files in merge 2014-06-07 23:12:32 +02:00
Jérôme Macias
de41dee9e4 Add alias for container:debug task 2014-06-04 12:50:45 +02:00
ncanceill
e5ed07e2b5 specify python2 in shebang
as suggested in #2382
2014-06-04 12:36:34 +02:00
Yachi Lo
3cdfdad28a use ls instead of find to avoid incompatibility with gnu find 2014-06-02 16:11:22 +02:00
Doug Jones
b1c97bc77e Fix comparison used to determine if the cache is outdated. 2014-06-02 16:11:22 +02:00
ncanceill
ac1a321abe add gfa alias for recursive formatting
inspired from #2018
2014-05-29 11:06:02 +02:00
ncanceill
76e23e62c6 Fix permissions on wd plugin
continuating #1923
2014-05-29 10:58:51 +02:00
Theodore Kokkoris
b569273012 Removed unnecessary execute permissions for some plugins 2014-05-29 10:58:17 +02:00
Christophe Bliard
3c41da3172 Update colorize.plugin.zsh
correctly detect when pygmentize is not installed
do not exit shell if when pygmentize is not installed
2014-05-29 10:56:41 +02:00
Frank Louwers
bce74975d0 drop the foreach, make it even shorter. thanks Marc Cornellà! 2014-05-28 13:57:25 +02:00
MrTux
3fac127152 Correct wrong plugin file name 2014-05-28 11:23:39 +02:00
Jim Hester
97ab436f7f Fix path for colemak plugin 2014-05-28 11:22:35 +02:00
Andrey Koleshko
80828cd0d3 Update plugins/rbenv/rbenv.plugin.zsh
Fix rbenv plugin for OS X latest homebrew
2014-05-28 11:19:47 +02:00
James Magnarelli
7bb42fb49a Corrected syntax error in github plugin's empty_gh function 2014-05-28 11:19:16 +02:00
Josh Datko
b7f51bbbdd Adds itunes vol command.
Adds itunes vol, which takes an argument from 0 to 100 to set the
volume from the shell.
2014-05-27 10:34:03 -06:00