Commit Graph

1471 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Frank Behrens
6fc241b0d2 extract plugin will unzip *.sublime-package files 2014-05-26 12:15:20 +02:00
pangratz
c0b094cf85 Fix function/alias naming clash between bower and bundle plugin
Since the `bower` plugin specifies a `bi` alias and `bundle` plugin
specifies a `bi` function, there is a name clash when using both
plugins, which results in the message "Can't 'bundle install' outside a
bundled project" when trying to execute `bower`.

This adresses #2486
2014-05-25 11:15:12 +02:00
Brian Hartvigsen
5e601d6515 Fix dud alias. Switch --max-depth for just -d
As far as I can tell (tested on Linux & Darwin, BSD man page seems to agree), `-d` is pretty univerally accepted as the depth argument.  So instead of doing a test, we can just use -d and call it a day.
2014-05-24 19:48:36 +02:00
Brian Hartvigsen
c1f5a1792b This is already done in lib/theme-and-appearance.zsh and supports Darwin/BSD/etc 2014-05-24 19:48:36 +02:00
Trevor Strieber
8355233f7f Fixing typo. 2014-05-24 08:35:54 +02:00
ncanceill
2c19c0e59e typo, fixes #1806 2014-05-24 08:31:59 +02:00
Robby Russell
3913106b2e Merge pull request #2787 from irnnr/plugin-vagrant
Support new Vagrant commands
2014-05-16 09:33:23 -07:00
Ingo Renner
8ed8005102 Improve consistency, remove dots at end of command descriptions 2014-05-15 12:26:39 -07:00