Commit graph

4,128 commits

Author SHA1 Message Date
Zach Himsel
683cfb1cb6 Update docker completion from upstream (#5426)
be9e3f59e6/contrib/completion/zsh/_docker
2016-09-20 20:48:10 +02:00
Brian Goff
dc3d371168 Update docker completion to match docker upstream (#5060)
See https://github.com/docker/docker/blob/master/contrib/completion/zsh/_docker

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-09-20 20:40:07 +02:00
grindhold
856199f08d added support for bazaar in agnoster theme (#5016)
the agnoster theme is now able to render basic information
if the user is currently residing inside a bazaar folder.
if so, it will render a green promt segment with "bzr" and
the current revision number in it. if there are untracked
files, the bar will be rendered in yellow. if there are
changes to already tracked files, a + character will be
printed.
2016-09-19 20:00:42 -07:00
Matt Nichols
8eeae7ec5c Fix peepcode theme ruby prompt info (#5339)
The ruby prompt info was not interpolating properly. Switching to use
 ruby_prompt_info helper. This addresses the issue.
2016-09-19 20:00:16 -07:00
Fabián Ríos
417f7c68b9 missing listing and versions (#5341)
versions is missing list is missing
2016-09-19 19:58:45 -07:00
Ariel Rivas
37fa4a7529 Avoid unnecesary processing... (#5352)
by discarding directories or files with permissions already correctly set
2016-09-19 19:57:51 -07:00
Mohammad Mahdi Rahimi
75988e1036 Spotify Controller (#5356)
* initial spotify control

* volume up/down added

* add info, share and status option

* add color echo

* change pause to play/pause

* add Search Option for album,artist and tracks

* add search option for playlist

* fix showStatus output

* complete help

* readme updated

* seach show Url of song
2016-09-19 19:56:12 -07:00
Mohnish G J
5c17d8826e Add an alias for Rails console sandbox (#5316)
The command ‘rails console —sandbox’ loads our Rails application,
connects to the database and automatically starts a database
transaction. All database operations performed within this console
session are rolled back upon leaving the console. Reference -
https://www.codeschool.com/blog/2014/06/17/rails-console-sandbox/
2016-09-19 19:51:50 -07:00
Luis Ferrer-Labarca
9699f997bf Added 'gbd' alias for 'git branch -d' (#5417) 2016-09-19 19:50:16 -07:00
Robby Russell
96e12718f6 Forgot a word in the footer 2016-09-19 19:41:59 -07:00
Robby Russell
7564ce107b Adding a link to Planet Argon who manages the site/project/shop 2016-09-19 19:40:38 -07:00
Marc Cornellà
2af5474e17 ssh-agent: check ssh-agent process w/ ps again
The alternative is using tools that aren't available everywhere.
The latest report is that cygwin/msys2 doesn't have pgrep.

Fixes #5418.
2016-09-17 13:01:10 +02:00
Joshua McKinney
8c5b71b7ea Remove _brew zsh completion (#5190)
Removing as this is now installed as part of homebrew automatically and this
version is out of date. See
https://github.com/Homebrew/brew/blob/master/share/zsh/site-functions/_brew
2016-09-17 12:31:52 +02:00
Joshua McKinney
b132cd8e07 Deprecating brew cask plugin (#5191)
The good completion is now part of Homebrew so this one  will always be outdated.

See https://github.com/Homebrew/brew/pull/407
and https://github.com/Homebrew/brew/pull/936.
2016-09-17 11:43:40 +02:00
Erik Zivkovic
e55e397b72 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
88e09d5b38 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
f423e1efe1 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à
6e48968109 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
28190d3060 Readded docker-compose aliases (#5412)
Removed by mistake in 0950f9c.
2016-09-14 09:49:50 +02:00
Trevor Rosen
57ebf0e3f5 Fix iTerm crash on window re-size (#5211) 2016-09-12 17:55:48 +02:00
Ryan Smith
892370c8e1 Add file completions for lein (#5380) 2016-09-12 17:46:10 +02:00
Marc Cornellà
dd27652680 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à
d8eaa9bc7d Add FirewallD plugin (#5386) 2016-09-12 17:38:13 +02:00
Douglas Drumond
4a2c420c6d 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à
c62be28440 Merge branch 'fix/cached-npm-completion'
Fixes #5332
2016-09-10 00:24:46 +02:00
Marc Cornellà
d7c161c0f3 npm: unset NPM_COMPLETION_FILE variable 2016-09-10 00:23:50 +02:00
Marc Cornellà
f89cb7e308 npm: only source npm completion cache if file exists 2016-09-10 00:23:50 +02:00
Marc Cornellà
49ba613194 npm: quiet error output of npm completion 2016-09-10 00:23:50 +02:00
Rob Ede
c6e1242851 corrected alias documentation 2016-09-08 00:27:46 +01:00
Rob Ede
a0b792f051 add readme 2016-09-08 00:18:26 +01:00
Rob Ede
d9813f0281 sudo firewall-cmd calls 2016-09-08 00:05:55 +01:00
Yuichi Tanikawa
128d0ab92d Fix git_prompt_status() not showing ahead/behind/diverged status correctly (#5388) 2016-09-08 00:23:04 +02:00
Rob Ede
71a860097f add firewalld aliases 2016-09-07 12:56:19 +01:00
Roman Kapitonov
564a52f659 Add ability to autocomplete services for brew-services. 2016-09-06 10:23:18 +03:00
Marc Cornellà
2b661f52c4 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à
d8470b68e1 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à
c46a06f29b Merge branch 'fix/ssh-agent-process-check' 2016-09-05 08:35:48 +02:00
Marc Cornellà
903f7017aa 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à
b879007799 Merge pull request #5328 from mcornella/ssh-agent-refactor
Refactor of ssh-agent plugin
2016-09-04 22:51:20 +02:00
jarhat
ab9de5579b archlinux: yasu now working - only one dash needed (#5373) 2016-09-04 19:51:42 +02:00
Marc Cornellà
a7bbd4f943 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à
e36e496bab Simplify PID check of current ssh-agent 2016-09-03 20:49:55 +02:00
Marc Cornellà
e241278055 Clean up formatting of ssh-agent plugin 2016-09-03 20:49:55 +02:00
Marc Cornellà
7586014d1f Extract comments into README for ssh-agent plugin 2016-09-03 20:49:55 +02:00
Marc Cornellà
7e1e11df8d Delete useless /usr/bin/env in ssh-agent 2016-09-03 20:49:55 +02:00
Maximilian Güntner
1bb92774fd 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
1b7abf5e26 Fixed typo (#5369)
Coffee was missing an F
2016-09-03 19:49:20 +02:00
Marc Cornellà
a1b7d9b57c Merge branch 'add-droplr-plugin'
Closes #1972.
2016-09-02 21:04:17 +02:00
Marc Cornellà
f94b1e575a droplr: convert ruby file into zsh 2016-09-02 21:03:49 +02:00
Marc Cornellà
2b6cbc6b24 Add Droplr README 2016-09-02 20:26:14 +02:00