1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00
Commit graph

4114 commits

Author SHA1 Message Date
Erik Zivkovic
e46843685c Improve gradle plugin task parsing (#5230)
* Improve gradle plugin task parsing

Added _gradle and _gradlew as symbolic links to gradle.plugin.zsh,
otherwise the plugin was not properly loaded.

Output from `gradlew tasks --all` is now parsed in two levels,
first we find segments between `------...` and a newline.
Second, all those lines are parsed and cleaned using awk
and added to .gradletasknamecache.

Tested on gradle 2.13, and gradlew 2.14.

* Remove .gradletasknamecache before regenerating it

Remove the .gradletasknamecache file to avoid having an unnecessary
newline at the top of the file when regenerating it.

* Improve gradle task parsing by writing .gradletasknamecache atomically

Previously the .gradletasknamecache file was written line by line inside a parsing loop,
which could cause errors such as half-written cache files if the process was aborted.

This also removes the need of deleting the .gradletasknamecache file before parsing.
2016-09-15 12:16:46 +02:00
Reed Riley
59c66dbfc2 Fix battery plugin when acpi writes to stderr (#5413)
* Fix battery plugin when acpi writes to stderr
* Make stderr redirection in battery plugin more idiomatic
2016-09-15 02:01:10 +02:00
Frederick Roth
ce4d8a5cad Add -DskipITs and completion for -Dit.test mvn plugin (#3641)
* Adds -DskipITs to auto completion list

* Adds integration test completion
2016-09-14 11:10:14 +02:00
Marc Cornellà
3042a1a834 Update docker completion (#5354)
* Update the docker completion script with the official docker zsh completion script
* Update README
2016-09-14 09:58:28 +02:00
Ivo Bathke
1d8047e0f8 Readded docker-compose aliases (#5412)
Removed by mistake in 0950f9c.
2016-09-14 09:49:50 +02:00
Trevor Rosen
3705d47bb3 Fix iTerm crash on window re-size (#5211) 2016-09-12 17:55:48 +02:00
Ryan Smith
0c85da3c74 Add file completions for lein (#5380) 2016-09-12 17:46:10 +02:00
Marc Cornellà
e1294c602c Merge pull request #4313 from RomanKapitonov/add-services-managing-to-brew
Add ability to autocomplete services for brew-services.
2016-09-12 17:45:10 +02:00
Marc Cornellà
c3a87e7df8 Add FirewallD plugin (#5386) 2016-09-12 17:38:13 +02:00
Douglas Drumond
3ad92a57f1 Add ctrl-r, ctrl-a and ctrl-e support in vi-mode (#4994)
* Add ctrl-r support in vi-mode to perform backward search in history
* Add ctrl-a support to move to bol in vi-mode
* Add ctrl-e support to move to eol in vi-mode

Signed-off-by: Douglas Drumond <douglas@cafelinear.com>
2016-09-12 17:34:52 +02:00
Marc Cornellà
ac9a8cb687 Merge branch 'fix/cached-npm-completion'
Fixes #5332
2016-09-10 00:24:46 +02:00
Marc Cornellà
b70842bae4 npm: unset NPM_COMPLETION_FILE variable 2016-09-10 00:23:50 +02:00
Marc Cornellà
76924b7f5f npm: only source npm completion cache if file exists 2016-09-10 00:23:50 +02:00
Marc Cornellà
2a44527ac3 npm: quiet error output of npm completion 2016-09-10 00:23:50 +02:00
Rob Ede
db31d51576 corrected alias documentation 2016-09-08 00:27:46 +01:00
Rob Ede
a64d018a9d add readme 2016-09-08 00:18:26 +01:00
Rob Ede
e12f8e64ea sudo firewall-cmd calls 2016-09-08 00:05:55 +01:00
Yuichi Tanikawa
27fff27253 Fix git_prompt_status() not showing ahead/behind/diverged status correctly (#5388) 2016-09-08 00:23:04 +02:00
Rob Ede
e726af8f83 add firewalld aliases 2016-09-07 12:56:19 +01:00
Roman Kapitonov
7c630309cc Add ability to autocomplete services for brew-services. 2016-09-06 10:23:18 +03:00
Marc Cornellà
71201ffd67 git: output nothing when no commits ahead or behind
This fixes old git_commits_ahead behavior and changes git_commits_behind
to have the same behavior.

Fixes #5355
2016-09-05 11:22:48 +02:00
Marc Cornellà
298b63513d git plugin: remove `format:' from --pretty flag
Changes gke, glol and glola aliases.

Fixes #5362
2016-09-05 10:56:18 +02:00
Marc Cornellà
2c9d8310e4 Merge branch 'fix/ssh-agent-process-check' 2016-09-05 08:35:48 +02:00
Marc Cornellà
973a4e646c ssh-agent: fix non-standard process check w/ pgrep
Confirmed to work on MacOS, OpenBSD, Solaris and busybox.
2016-09-05 08:31:20 +02:00
Marc Cornellà
e92ac8932c Merge pull request #5328 from mcornella/ssh-agent-refactor
Refactor of ssh-agent plugin
2016-09-04 22:51:20 +02:00
jarhat
7d5bb2a34d archlinux: yasu now working - only one dash needed (#5373) 2016-09-04 19:51:42 +02:00
Marc Cornellà
53c3567cc3 Force ssh-agent output to use bourne-style syntax
On systems where the shell cannot be changed because of a strict
security policy, ssh-agent will use the syntax of whatever the
default $SHELL is.
For instance, if the default shell is tcsh, ssh-agent will use the
c-shell style (setenv).

This change forces ssh-agent to use bourne-style syntax since that
has to be later interpreted by zsh. Consequently, the environment
file will contain `export' statements from now on (instead of
`setenv').
2016-09-03 20:49:55 +02:00
Marc Cornellà
142ad842d7 Simplify PID check of current ssh-agent 2016-09-03 20:49:55 +02:00
Marc Cornellà
cb0833ac13 Clean up formatting of ssh-agent plugin 2016-09-03 20:49:55 +02:00
Marc Cornellà
b60acddefe Extract comments into README for ssh-agent plugin 2016-09-03 20:49:55 +02:00
Marc Cornellà
81e73e3d18 Delete useless /usr/bin/env in ssh-agent 2016-09-03 20:49:55 +02:00
Maximilian Güntner
0c60f421cb ssh-agent: Use /usr/bin/env to find ssh-add
This change is important when ssh-add is not inside /usr/bin e.g.
on NixOS.

Signed-off-by: Maximilian Güntner <code@maschinenpsychologe.de>
2016-09-03 20:49:55 +02:00
Alexander J. Dita
e96b12666a Fixed typo (#5369)
Coffee was missing an F
2016-09-03 19:49:20 +02:00
Marc Cornellà
f642fcecaf Merge branch 'add-droplr-plugin'
Closes #1972.
2016-09-02 21:04:17 +02:00
Marc Cornellà
7a32a98ced droplr: convert ruby file into zsh 2016-09-02 21:03:49 +02:00
Marc Cornellà
8648873887 Add Droplr README 2016-09-02 20:26:14 +02:00
Fabio Fernandes
1af4e9c521 Add Droplr plugin 2016-09-02 20:26:14 +02:00
kenleytomlin
03e7f93ec7 Update README 2016-08-30 08:58:31 +01:00
kenleytomlin
a93bb4e695 Update the docker completion script with the official docker zsh
completion script
2016-08-30 08:54:47 +01:00
Marc Cornellà
3c8a33364f Merge pull request #5343 from mcornella/rake-fast-plugin-refactor
Repost of #5319 and refactor of rake-fast plugin
2016-08-29 10:05:17 +02:00
Marc Cornellà
abf73bb626 rake-fast: change variable name from $path' to $file'
This solves a problem of using the variable name `$path' which then
smashes the environment variable `$PATH' and messes up the session.

See https://github.com/robbyrussell/oh-my-zsh/pull/5343#issuecomment-243043098
2016-08-29 09:43:08 +02:00
Marc Cornellà
59fdb2b505 Reword rake-fast README, add lib/tasks information 2016-08-29 08:28:27 +02:00
Marc Cornellà
81ca3182a1 Fix syntax and formatting of rake-fast plugin 2016-08-29 08:28:27 +02:00
Aleksey Ivanov
2277967ecf Fix _tasks_changed algorithm in rake-fast plugin 2016-08-29 08:28:27 +02:00
Rory Hardy
2ab67382e7 Added perms plugin (#1752)
* Added perms plugin

* HTTPS -> HTTP for comment URL

* Added a README

* Updated TOF comment

* Pulled in updates by apjanke with minor tweaks
2016-08-26 22:05:33 +02:00
Kevin Ndung'u
deadc369bf Disable zsh file globbing when running pip (#5348) 2016-08-26 21:41:16 +02:00
Marc Cornellà
f2580833c0 Merge branch 'apjanke-cask-homebrew-paths' 2016-08-25 18:33:44 +02:00
Marc Cornellà
cf4da1b7ac Add README to cask plugin 2016-08-25 18:33:15 +02:00
Marc Cornellà
a7e60e4a93 Style fixes and shorter command lookup 2016-08-25 18:32:01 +02:00
Andrew Janke
e1e3acc722 cask: check for Homebrew path for completion file 2016-08-25 03:22:07 +02:00