Commit graph

4,141 commits

Author SHA1 Message Date
Brad Urani
9f4aa2a859 Add copybuffer function and keybinding (#5431)
* Add copybuffer function and keybinding:

binds ctrl-o to copy the command line buffer to the system clipboard.

* Add README
2016-09-22 19:41:30 +02:00
Marc Cornellà
2d58065979 Merge pull request #5435 from mcornella/fix-completion-hyphened-files
Fix completion of files with hyphens and underscores
2016-09-22 00:48:54 +02:00
Marc Cornellà
dba5dc76ac Fix styling of lib/completion.zsh 2016-09-22 00:44:25 +02:00
Gravemind
7b103506a7 Fix hyphen and underscore filename completion
This deletes the previous hack that allowed completing files with
the extension: e.g. `abcd.z` to `abcdefg.z`.

It is still possible to use `abcd[TAB].z`, and hyphens or underscores
are very much more important than this other trick.

Source:
https://github.com/robbyrussell/oh-my-zsh/issues/1398#issuecomment-169163149

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-09-22 00:43:30 +02:00
Shang Yehua
cb020db0d1 Add some prompts for "install:install-file" (#5376)
Add "-DgroupId= -DartifactId= -Dversion= -Dpackaging=jar -Dfile=" to options for
"install:install-file" for when you need install a local jar file.

Closes #5376.
2016-09-21 22:26:58 +02:00
Marc Cornellà
f2dafb6100 Merge branch 'catull-enhancement-add-angular-cli-plugin'
Closes #5299
2016-09-21 21:28:56 +02:00
Carlo Dapor
a2f6b79462 Added README.md 2016-09-21 21:27:05 +02:00
Carlo Dapor
558ac1adfd Updated options for generate. Added gh-pages:deploy / github-pages:deploy. 2016-09-21 21:27:05 +02:00
Carlo Dapor
4c9d7f0eba The argument completion also has no extra options. 2016-09-21 21:27:05 +02:00
Carlo Dapor
73f0e3365f Added angular-cli (ng) completion. 2016-09-21 21:27:05 +02:00
Marc Cornellà
4dc729a98c Add check for git and bzr to agnoster theme (#5432)
Plugin command-not-found on Arch Linux returns 0 if git or bzr is found in repos, hence outputting unwanted pkgfile output.

Checking if the commands exist first fixes all such issues.
2016-09-21 21:11:05 +02:00
Ash Furrow
06d359af5d Adds option for directory to Xcode xc function. (#5253) 2016-09-21 17:55:58 +02:00
Dawnflash Lightstring
e32a463a49 Add check for git and bzr to agnoster theme
Plugin command-not-found on Arch Linux returns 0 if git or bzr is found in repos, hence outputting unwanted pkgfile output.
Checking if the commands exist first fixes all such issues.
2016-09-21 12:20:08 +02:00
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