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
ncanceill
917c3a0f81
make sure cache dir exists, just like log dir
2014-09-17 14:11:43 +02:00
ncanceill
b3be5e8f39
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-09-17 14:11:43 +02:00
Markus Faerevaag
fbe8e15afc
[wd] v0.2.2: Added MIT-License
2014-09-17 14:11:43 +02:00
Markus Faerevaag
c7b5811479
[wd] v0.3.1: Improved completion and bug fixes
2014-09-17 14:11:43 +02:00
Fredrik Fornwall
f6806d23ee
Replace /usr/bin/env with env
...
Some environments (such as Android) does not have /usr/bin.
2014-09-17 14:11:43 +02:00
Jingwen Owen Ou
9c93dff76d
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-09-17 14:11:43 +02:00
Eduardo San Martin Morote
c1699fd0d3
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-09-17 14:11:43 +02:00
DariusPHP
ef51e2f425
#git plugin git diff-tree --name-only added
2014-09-17 14:11:43 +02:00
sachin21
d0f4c51a52
This alias is conflict cause
2014-09-17 14:11:43 +02:00
nervo
9ab41ae1e8
Add Composer's local binaries to PATH
2014-09-17 14:11:43 +02:00
Igor Zoriy
d626e79cba
Added 'uninstall' command to brew completion
2014-09-17 14:11:42 +02:00
Douglas S.D. Hall
a79e22023e
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-09-17 14:11:42 +02:00
Marc Cornellà
d78294c338
Categories of issues in oh-my-zsh (work-in-progress)
2014-09-17 14:11:42 +02:00
Marc Cornellà
6aa95694af
Add CONTRIBUTING.md file general structure
2014-09-17 14:11:42 +02:00
Abhas Mittal
c5d19981d2
Update README.textile
2014-09-17 14:11:42 +02:00
Abhas Mittal
10f93ade3f
Update README.textile
...
Added instructions for installing zsh (due to the problems with first time zsh users)
2014-09-17 14:11:42 +02:00
Adam Poskitt
9396beccd2
Update rvm.plugin.zsh
...
Ruby 2.1.1 -> Ruby 2.1.2.
2014-09-17 14:11:42 +02:00
Nicolas Brousse
a72798ce4f
Update brew.plugin.zsh
...
Add `brew cleanup` command to `bubu` alias
2014-09-17 14:11:42 +02:00
Ben Zörb
a18118609e
added cache:warmup alias
2014-09-17 14:11:42 +02:00
Ben Zörb
df3a8ec1e6
#2893 generalized symfony2 console directory
2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
8faa65bf58
add BUNDLED_COMMANDS functionality to bundler plugin
2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
6ea8903b17
added Bundler readme file
2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
7d9a8d8528
add pry to bundler-commands
2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
232b49b615
add spring to bundler-commands
2014-09-17 14:11:42 +02:00
Thomas Kriechbaumer
1bbd80b3ae
remove double bundle exec
2014-09-17 14:11:42 +02:00
toooooooby
95ca362dab
Add 'outdated' and 'platform' completions to bundler plugin
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
4df66564b9
remove berkshelf from bundler-commands
...
fixes #2076
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
79b1d1b449
remove ruby from bundler-commands
...
related to #1587
closes #2200
closes #2561
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
dc38e7d6d9
remove spin from bundler-commands
...
closes #1817
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
d76bf3fbd1
remove foreman from bundler-commands
...
closes #1825
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
68a130db88
add sidekiq to bundler-commands
...
closes #2779
2014-09-17 14:11:41 +02:00
Thomas Kriechbaumer
9ee4c91536
split bundler-commands into seperate lines
...
This makes adding, deleting and merging a lot easier.
2014-09-17 14:11:41 +02:00
Helge Rausch
1a39d7bc24
Make bundler plugin run binstubbed cmd if existing
2014-09-17 14:11:41 +02:00
kubamarchwicki
1565cb727c
Spring boot autocomplete
2014-09-17 14:11:41 +02:00
Josh Datko
746d1d29e1
Adds itunes vol command.
...
Adds itunes vol, which takes an argument from 0 to 100 to set the
volume from the shell.
2014-09-17 14:11:41 +02:00
r3dDoX
2a4d55286b
added prefix/suffix variable for customizability
2014-09-17 14:11:41 +02:00
r3dDoX
345a295e63
added new function to get number of commits ahead of remote
2014-09-17 14:11:41 +02:00
r3dDoX
21b23aad2b
replaced hardcoded origin/{branch-name} with @{upstream} which gets the upstream branch since git 1.7.0
2014-09-17 14:11:41 +02:00
Nicolas Brousse
fc47eb5f34
Update brew.plugin.zsh
2014-09-17 14:11:41 +02:00