Marc Cornellà
bac896fca7
extract: add README
2016-09-30 00:38:21 +02:00
Marc Cornellà
b5dc976d23
extract: add file extensions to extract completion
2016-09-30 00:38:21 +02:00
Marc Cornellà
68425c266a
extract: replace basename&sed w/ zsh variable expansion syntax
...
`${var:t:h}` uses:
- `${var:t}` which acts as `basename`.
- `${var:r}` which removes the extension.
See http://zsh.sourceforge.net/Doc/Release/Expansion.html#Modifiers
2016-09-30 00:38:03 +02:00
Marc Cornellà
f12cb5a697
extract: fix extraction of deb packages with data.tar.xz
2016-09-29 14:05:21 +02:00
Marc Cornellà
09d95251a7
extract: fix styling
2016-09-29 14:05:21 +02:00
Marc Cornellà
e6df0e036e
Clean up and refactor code in svn plugin
2016-09-29 14:03:09 +02:00
Marc Cornellà
f573247a59
Clean up svn README
2016-09-29 13:56:48 +02:00
Christian Ferbar
364019a3c9
Add localization workaround to svn plugin
2016-09-29 13:56:40 +02:00
Christian Ferbar
10ffa4fe99
Add README to svn plugin
2016-09-29 13:56:35 +02:00
Diego Said Anaya Mancilla
ac8915d43f
Update pip plugin to last stable release ( #5472 )
...
Update pip plugin to last stable release
2016-09-28 21:28:53 +02:00
Leif Ringstad
65874f2b22
Add more docker compose aliases ( #5422 )
...
Adds the following aliases:
```zsh
alias dco='docker-compose'
alias dcr='docker-compose run'
alias dce='docker-compose exec'
```
And sorts the aliases similar to `docker-compose help` order
2016-09-28 14:47:00 +02:00
slavaGanzin
798c38dd1a
globalias fix #4834
2016-09-27 15:22:37 +03:00
Brad Urani
1b7fc2f3ac
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
Shang Yehua
904d0ccef9
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
Carlo Dapor
34bc556bd3
Added README.md
2016-09-21 21:27:05 +02:00
Carlo Dapor
3da2f7ea6a
Updated options for generate. Added gh-pages:deploy / github-pages:deploy.
2016-09-21 21:27:05 +02:00
Carlo Dapor
a748f513a6
The argument completion also has no extra options.
2016-09-21 21:27:05 +02:00
Carlo Dapor
bd599066d7
Added angular-cli (ng) completion.
2016-09-21 21:27:05 +02:00
Ash Furrow
973c92cd91
Adds option for directory to Xcode xc function. ( #5253 )
2016-09-21 17:55:58 +02:00
Zach Himsel
f39dcfda8d
Update docker completion from upstream ( #5426 )
...
be9e3f59e6/contrib/completion/zsh/_docker
2016-09-20 20:48:10 +02:00
Brian Goff
9d91e92f26
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
Fabián Ríos
83765bf3f7
missing listing and versions ( #5341 )
...
versions is missing list is missing
2016-09-19 19:58:45 -07:00
Ariel Rivas
cb60cfc7bd
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
63d300edb0
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
836fe31385
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
e9793fc199
Added 'gbd' alias for 'git branch -d' ( #5417 )
2016-09-19 19:50:16 -07:00
Marc Cornellà
5bd9500bf4
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
5cf9263907
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
84449fc8e0
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
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à
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
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à
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à
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à
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à
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à
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
Marc Cornellà
04dd97783e
Add README to tig plugin
2016-08-24 21:28:49 +02:00
Steffen Tröster
bf79e1ceac
adding tig plugin for oh-my-zsh
2016-08-24 21:28:49 +02:00
Multilul
6e33095a7d
iTerm2 v3 tab commands fixes ( #5336 )
...
Fixes the "syntax error: expected line end ..." (-2741) when using the tab, split_tab and vsplit_tab commands in iTerm2 v3
2016-08-24 21:15:12 +02:00
Ivan Eisenberg
cbd9d0403e
Added documentation for undocumented OSX plugin commands ( #5338 )
...
* updated OSX plugin docs
2016-08-24 20:02:27 +02:00
Marc Cornellà
b90c8944b4
archlinux: fix pacmanallkeys URL, make curl silent
...
Also make all functions local as to not spill variables into the
global namespace.
2016-08-24 08:51:06 +02:00
Marc Cornellà
98ea6414d8
archlinux: reword and simplify README
2016-08-24 08:48:03 +02:00
Marc Cornellà
65f16fb64b
archlinux: remove comments, format functions better
2016-08-24 08:47:52 +02:00
Marc Cornellà
4f15bd15e5
Properly fix npm completion source
...
Problem introduced in 136a834
.
2016-08-24 00:13:24 +02:00
Marc Cornellà
136a83433a
npm: only load completion if npm exists
2016-08-23 09:31:29 +02:00
Bjørn Madsen
3b8d0ad9d0
archlinux: Update yasu alias
...
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-08-23 01:51:29 +02:00
Marc Cornellà
251bc2d380
dircycle: keep switch until a directory is found
...
This fixes the use case where a directory in the dir stack
doesn't exist anymore, so the keystroke doesn't appear to
do anything.
It will keep trying to switch to the n-est directory in the
stack until it founds an available directory or the dirstack
has no more directories to switch to.
2016-08-22 16:57:10 +02:00
Philipp Wahala
7c1ca0e4d8
Create and cache npm completion on first run
...
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-08-22 16:17:34 +02:00
Shubham Chaudhary
4b9772fffe
Add more go aliases ( #5259 )
...
* Also gfa conflicts with git shortcut
2016-08-21 20:06:47 +02:00
Simon
b9c3e862c7
Add alias for checking out develop branch ( #5307 )
2016-08-21 19:46:37 +02:00
Marc Cornellà
774c4eca6f
Revert "Fix pj() function when no project has been specified"
...
This reverts commit 7d298a3059
.
2016-08-21 00:09:59 +02:00
Piotr Gaczkowski
24ac1aa348
Clobber ssh environment regardless of setopt ( #5322 )
2016-08-21 00:02:58 +02:00
Marc Cornellà
76821f506c
Rename gh
alias (git help) to ghh
...
This conflicts with several tools, including NodeGH [1] and
scm_breeze [2].
[1] https://github.com/robbyrussell/oh-my-zsh/issues/5313
[2] https://github.com/robbyrussell/oh-my-zsh/issues/5321
Related: #5130
2016-08-20 23:53:12 +02:00
Emmanuel Isaac
9981214437
Add git alias to clear entire stash ( #5306 )
...
Using the "gstc" alias runs "git stash clear"
that clears every stash index
2016-08-18 09:22:21 +02:00
Marc Cornellà
66179bdab8
Fix git-flow README
...
- Fix "installation" information
- Add links to github project
- Transform list of aliases into table with descriptions
2016-08-17 22:39:41 +02:00
Fumseck
0615dfe32c
Add alias and README to git-flow plugin ( #5129 )
2016-08-17 22:26:13 +02:00
Marc Cornellà
bec53135e4
Fix shwordsplit bug when a basedir contains spaces
...
The `shwordsplit` option affects all variables and we only need to split
the `$EDITOR` variable. Because of that, using `${=spec}` is a much better
alternative.
More info at
http://zsh.sourceforge.net/Doc/Release/Expansion.html#index-SH_005fWORD_005fSPLIT_002c-toggle
2016-08-16 08:32:43 +02:00
Marc Cornellà
7d298a3059
Fix pj() function when no project has been specified
2016-08-16 08:32:43 +02:00
Marc Cornellà
7f8851f52f
Refactor pj function
...
- Use `emulate -L zsh` to make all variables local.
- Use `shwordsplit` to interpret `$cmd` spaces correctly.
- Rename `$project` and `$file` variables to the more appropriate `$basedir`
and `$project`.
2016-08-16 08:32:43 +02:00
Marc Cornellà
c9c11d605f
Fix _pj completion function
...
- `$PROJECT_PATHS/*` wasn't working correctly. You have to iterate over
its elements in order to use globbing with it.
- The `$projects:t` line wasn't necessary if we used `compadd`.
- `compadd` better supports destructuring an array with spaces in some
of its elements.
2016-08-16 08:32:43 +02:00
Marc Cornellà
26bef0942b
Add Readme to pj plugin
2016-08-16 08:32:43 +02:00
Marc Cornellà
525ee50815
Clean up comments in pj plugin file and reorganise
2016-08-16 08:32:43 +02:00
Thiago Leite Luiz
75f2f4e027
Adding alias to rake db:schema:load command. ( #5281 )
2016-08-14 18:01:13 -07:00
Peter Han
073ea01cce
Create an alias to open up sublime project ( #5258 )
...
* Adding an alias to open up the sublime project
* README update for stp command
2016-08-14 18:00:19 -07:00