Commit graph

2,927 commits

Author SHA1 Message Date
Michele Bologna
1adceed74f Merge 9b0189738f into 96e4e5dd03 2014-09-17 12:15:16 +00:00
Michele Bologna
9b0189738f color variables are now declared locally to avoid name clashes - closing issue #2665 2014-09-17 14:11:46 +02:00
Michael Stucki
14db6642d9 Support dynamically defined Vagrant machines 2014-09-17 14:11:46 +02:00
Christian Höltje
851bfe06fd 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:11:46 +02:00
Robby Russell
b5923a7c3a Revert "Exit early from git plugin if not in git repo." 2014-09-17 14:11:46 +02:00
Letian Zhang
cf949024dc fix missing add-zsh-hook in pygmalion.zsh-theme
Fix "command not found: add-zsh-hook" since #3053 removes `autoload -U add-zsh-hook`
2014-09-17 14:11:46 +02:00
Christian Höltje
55b932a8ff 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:11:46 +02:00
Philipp Wahala
b722db6d1d Symfony2 plugin autocomplete for app/console and bin/console 2014-09-17 14:11:46 +02:00
Philipp Wahala
ba3fa7733a Symfony2 plugin look for files only 2014-09-17 14:11:46 +02:00
Philipp Wahala
97919fde77 Symfony2 plugin use first console found 2014-09-17 14:11:46 +02:00
AJ Henriques
ae523d8171 add git difftool alias (gdt) 2014-09-17 14:11:46 +02:00
Joshua Medeski
83e2da7366 add wp-cli plugin readme 2014-09-17 14:11:46 +02:00
Josh Medeski
b20a609eee WP-CLI plugin init 2014-09-17 14:11:46 +02:00
Halil Özgür
544a42e37a Use the library function for ruby prompt
Not everyone uses rvm and the library has already got a function for this.
2014-09-17 14:11:46 +02:00
Michael Stucki
3a21656ab4 Improve support for Vagrant VM definitions 2014-09-17 14:11:45 +02:00
Robby Russell
8fc9108f11 Revert "Add Composer's local binaries to PATH" 2014-09-17 14:11:45 +02:00
Robby Russell
51f48fab3b Revert "Add a CONTRIBUTING file to instruct people on issues and pull requests" 2014-09-17 14:11:45 +02:00
Tobias Preuss
9cafc7c49a Add README.md for adb-autocompletion plugin. 2014-09-17 14:11:45 +02:00
Guerki
466354ee7c Run Web-search as a Background Process with Nohup 2014-09-17 14:11:45 +02:00
Adam Poskitt
7dcedf73ff Update README.textile 2014-09-17 14:11:45 +02:00
Alex Shadrin
9a3927ec89 Resets the font colour to original 2014-09-17 14:11:45 +02:00
Jim Remsik
1ece3308fe Add gap (git add --patch) 2014-09-17 14:11:45 +02:00
Carlos Chacin
d24f11734e TomEE maven plugin + integration-test in common life-cycle 2014-09-17 14:11:45 +02:00
Adam Poskitt
ccf15dc804 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:11:45 +02:00
Celso Miranda
97deaab9ae bugfix: two wild apostrophes
oops
2014-09-17 14:11:45 +02:00
Celso Miranda
4fcf4c435e 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:11:45 +02:00
Cherry NG
a46a4ecb6f rounding to emoji clock 2014-09-17 14:11:45 +02:00
Bruno Oliveira
6b443521ff Inclusion of aliases for sign git commits and tags 2014-09-17 14:11:45 +02:00
lundberg
61e2cfa0f4 New alias for git plugin: gbr == git branch --remote 2014-09-17 14:11:45 +02:00
Mathieu Comandon
53d2013e94 Don't try running chsh if user already runs zsh 2014-09-17 14:11:45 +02:00
Ben Zörb
66ab476afb #2914 fixed symfony2 autocomplete 2014-09-17 14:11:44 +02:00
Tom Cammann
f9b39c9104 Update jira plugin to allow lookup of issues
Plugin now supports lookup of tickets by assignee and reporter
2014-09-17 14:11:44 +02:00
Chris Smith
e89781ebc0 Adding README.md 2014-09-17 14:11:44 +02:00
Chris Smith
ea61da5777 Adding quotes around $1 2014-09-17 14:11:44 +02:00
Chris Smith
d4d6fe1af5 Adding BBEdit plugin 2014-09-17 14:11:44 +02:00
Chris Smith
a4ba33fc62 Adding README.md and renaming plugin 2014-09-17 14:11:44 +02:00
Chris Smith
142b70453f Adding quotes around $1 2014-09-17 14:11:44 +02:00
Chris Smith
312759c8c9 Adding Marked 2 plugin 2014-09-17 14:11:44 +02:00
Chris Smith
71afbed515 Adding README.md 2014-09-17 14:11:44 +02:00
Chris Smith
bf4cf688cd Adding quotes around $1 2014-09-17 14:11:44 +02:00
Chris Smith
d556462e54 Adding Textastic plugin 2014-09-17 14:11:44 +02:00
Robby Russell
8f2bdbb644 Link to swag in installer... shameless profiting 2014-09-17 14:11:44 +02:00
Robby Russell
617cc5a4d6 Adding link to the store for swag in upgrade process 2014-09-17 14:11:44 +02:00
Frederik Mogensen
bbe3cbaaee Added _files to complete all arguments following the first as files 2014-09-17 14:11:44 +02:00
Frederik Mogensen
0588643bb6 Added autocompleting plugin for Android Debug Bridge (adb). 2014-09-17 14:11:44 +02:00
Anton Eicher
552e5b8785 Added check for .git directory in current, before wasting time querying git. This saves seconds on my pc. 2014-09-17 14:11:43 +02:00
Marc Cornellà
76e9d2b71e 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:11:43 +02:00
Marc Cornellà
67b522409d Update pass completion to upstream
Conflicts:
	plugins/pass/_pass
2014-09-17 14:11:43 +02:00
Santiago Borrazás
afa88fc453 Added a link to the file's license and added the commiter as plugin maintaner. 2014-09-17 14:11:43 +02:00
Christian Köstlin
4c3a8e6997 gem plugin: added _files to install command
is useful if you want to install a local gem from the filesystem
2014-09-17 14:11:43 +02:00