Commit Graph

3166 Commits

Author SHA1 Message Date
Franklin Yu 36808ff61e [plugin/chruby] Add "system" to completion list
Detect system Ruby in default PATH, and provide "system" completion if
Ruby is found.
2018-08-23 20:46:23 -04:00
Joel Wallis Jucá 652356b9b9 git: add the `git show` alias `gsh` (#5591) 2018-08-23 22:04:42 +02:00
Marc Cornellà 2bb10441da
nyan: deprecate plugin with removal notice
Fixes #6826
2018-08-23 20:28:20 +02:00
jack 314f9dfcb3 github: fix new_gh to force-add .gitignore (#7086) 2018-08-23 20:01:01 +02:00
Marc Cornellà fceae90219
jenv: fix brew directory search
`brew --prefix jenv` doesn't ensure jenv is installed so we have to recheck if the
bin folder is still there.
2018-08-19 22:33:44 +02:00
Scott Kidder dc948826b2 ember-cli : Add alias for ember test --serve (#6492) 2018-08-19 22:14:55 +02:00
Rob Loach 0de3b29fd3 composer: Fix bin directory when Composer is not available (#6240)
* Fix for Composer's bin when Composer isn't global

When Composer isn't globally installed, the `composer global` call results in an error. This checks to see if Composer is available before making the call. When Composer isn't available, it will just manually set the directories.

* Fix Composer brackets in global bin directory

* composer: Apply feedback from ricpelo

This applies ricpelo's feedback at https://github.com/robbyrussell/oh-my-zsh/pull/6240#pullrequestreview-64253321

* composer: Fix path check syntax

* composer: test with $commands[] syntax
2018-08-19 21:46:22 +02:00
Sumit Sahrawat b743ce9224 Add scu-* aliases for 'systemctl --user' commands (#6661) 2018-08-19 21:39:58 +02:00
Marc Cornellà be65adc6c3
git-extras: update completion (2018-05-24 0f76863) 2018-08-19 21:36:21 +02:00
Marc Cornellà 3edd424af2
jenv: small fix 2018-08-19 19:43:35 +02:00
Marc Cornellà 873dc9cfb8 jenv: update README 2018-08-19 19:41:49 +02:00
Marc Cornellà 3a822bb5fd jenv: refactor and optimize logic 2018-08-19 19:36:46 +02:00
John Burwell e8b9958926 Add jenv plugin
Initializes jenv and provides the jenv_prompt_info funtion to add
Java version information to prompts.  This function is stubbed in
prompt_info_functions script to allow it to be safely called
regardless of whether or not the jenv plugin is loaded.

It also splits detection of the plugin/versions directory and bin directory
to suppport the way Homebrew splits the jenv bin and data directories
2018-08-19 19:12:24 +02:00
15cm ff6b4c835b tmux: do not auto-load tmux inside of Emacs/Vim
When Emacs and Vim are launched from outside of an interactive shell,
$TMUX and $STY are not set; check for Emacs and Vim environment
variables instead.
2018-08-18 21:00:43 +02:00
Dennis Hägler a52a5fb1f4 Remove the white space
The white space is causing an error and bundler cannot find any commands!
2018-08-16 22:41:29 +02:00
Peter Bittner 035d78120c Add Git alias for `git diff --staged` (#7064) 2018-08-15 19:44:06 +02:00
Marc Cornellà af1709cfdc
kubectl: use kubectl to define aliases
This prevents conflicts with other utilities named k (see #6408).
2018-08-13 22:07:07 +02:00
Tushar Tiwari 1691cf8a99 Add alias for git add --verbose (#3167)
Add alias `gav='git add -v'`
fixes #6793
2018-08-13 21:11:25 +02:00
Marc Cornellà f2f078a1bb
pass: update completion (2018-08-03) 2018-08-09 20:17:43 +02:00
Marc Cornellà 052a6dbd16
docker-machine: add official completion
Fixes #6962
2018-08-09 19:24:03 +02:00
Thi 9624ce992e Add shell completion for Swift Package Manager (#7046)
This was generated by the Swift compiler 4.1.2 using the following
command:

swift package completion-tool generate-zsh-script
2018-08-09 19:10:32 +02:00
Alexander Kapshuna 5fbf912093 extract: whl files support (#7045) 2018-08-09 18:16:15 +02:00
Tom Milligan 3a31074d34 Update docker plugin from upstream docker/cli (#7018)
Update `docker` plugin from [docker/cli master](https://github.com/tommilligan/cli/blob/master/contrib/completion/zsh/_docker)

- bugfix for `docker update` autocompletion: https://github.com/docker/cli/pull/1232
- added `scope` subcommand: https://github.com/docker/cli/pull/1227/files
2018-08-09 17:37:47 +02:00
Marc Cornellà 60db5cdb58
tmux: fix invalid syntax on old zsh versions
First reported on f584de5930 (r29984052)
2018-08-09 17:19:40 +02:00
Michal Halenka 44473d785e Add doctl autocompletion (#6501) 2018-08-08 14:12:55 +02:00
Marc Cornellà 91d55dce11
bundler: update README with latest changes 2018-08-08 13:36:27 +02:00
Marc Cornellà c781d708da dotenv: test and warn of incorrect.env syntax
Fixes #6337
2018-08-08 00:05:34 +02:00
Marc Cornellà 9ecde7f732 dotenv: call function on startup
Fixes #7017
2018-08-07 23:54:07 +02:00
Joseph Richey 8961a3794c plugins/go: Simplify/fix recursive golang format (#7027)
Per the [`go` command specification](https://golang.org/cmd/go/#hdr-Package_lists),
the `...` wildcard matches the empty string. This makes commands like
`go <action> . ./...` unnecessary: they should use `go <action> ./...`.

This also fixes a bug with the `gofa` shortcut, where it would emit an
error if called from a directory containing no go source files (but
having subdirectories that _did_ contain go files).
2018-08-07 22:54:45 +02:00
Jeff Dickey 0cc371181a use official heroku autocomplete (#6919) 2018-08-07 21:41:53 +02:00
Johan Kaving 850975eb78 Add support for ForkLift 3 (#6490)
This adds support for ForkLift 3, which uses a different
application id and also uses a popover instead of a sheet for
entering the directory to go to.

This also improves the handling of different versions of ForkLift,
by first choosing any currently running instance, and if none is
running starting the newest available version.

Fixes #6565.
2018-08-07 21:39:38 +02:00
Marc Cornellà 2991f237ae
bundler: allow aliases in `bundle exec`
This means that if you have, for example, `alias rs='rails server'`, you can
run `be rs` and have it expanded to `bundle exec rails server`.

Fixes #5818
2018-08-07 21:04:09 +02:00
Janosch Schwalm 19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
Tony Lotts e934624b32 Add function to search Dash.app (#2557)
* Add function to search Dash

* Pass all arguements instead of just the first

* Adding docset completion with help from @kapeli and [arx]
2018-08-07 18:14:38 +02:00
John Burwell 05713785b0 asdf: add Homebrew and completion support (#6749)
* Modifies the search logic for asdf to include Homebrew when it is
installed. The implementation is adapted from the pyenv plugin.
2018-08-07 18:10:35 +02:00
kapsh 91b771914b extract: check file extension as lowercase (#6158)
Fixes #6157
2018-08-07 00:45:24 +02:00
Marc Cornellà 76d3eedf7f tmux: fix regression after f584de5
Fixes #7041
2018-08-07 00:40:18 +02:00
Marc Cornellà f584de5930 tmux: refactor and simplify tmux function logic 2018-08-03 22:13:48 +02:00
Andrew Janke 19716a8e3d tmux: refactor
- Consolidates the switch-adding logic for readability.
- Replaces "[[ ... ]] && ..." with "if [[ ... ]]; then ..." in some
  cases to avoid a spurious nonzero exit status from _zsh_tmux_plugin_run.
- Puts error message on stderr instead of stdout
2018-08-03 22:09:06 +02:00
Andrew Janke f33691fbb6 tmux: detabify source code
Also changes the tmux detection test to do an early exit if tmux is absent,
to reduce the indentation level of the main body of code.
2018-08-03 21:21:42 +02:00
Thanh Ha 5fa7824ea5 git-prompt: fix error when multiple tags exist (#6998)
When a commit has multiple tags associated to it, the git-prompt will
throw the following error:

git_super_status:[:4: integer expression expected: v0.21.x\ntags/v0.21.5,
git_super_status:[:7: integer expression expected: origin/v0.21.x,
git_super_status:[:11: integer expression expected: origin/v0.21.x,
git_super_status:[:14: integer expression expected: v0.21.x
git_super_status:[:23: integer expression expected: v0.21.x

This is due to the prompt expecting the tag field to be a single word
with no spaces in between but if there are multiple tags the python
script returns a string with ', ' space separated list of tags.
This throws off the parser. The solution is to ensure that the python
script returns a space-less string ensuring the git-prompt parser to
properly parse the data.

Signed-off-by: Thanh Ha <zxiiro@linux.com>
2018-07-29 17:45:35 +02:00
MarkPochert a24a0b1a8e Update z to latest version (#7021) 2018-07-29 17:43:15 +02:00
Thi 6ca57e035c [plugins/xcode] Fix opening project using a wrong Xcode version (#6829) 2018-07-19 17:20:45 +02:00
Johan Kaving 626b30b2a3 Update git-flow-avh to 0.6.0 (#6498)
This updates the git-flow-avh plugin to the latest version
from https://github.com/petervanderdoes/git-flow-completion
(0.6.0 at the time of this commit).

This mainly adds support for the "git flow bugfix" command.

This PR replaces #4626 as well as #4705, both of which adds support for the bugfix command but doesn't use the official version from https://github.com/petervanderdoes/git-flow-completion

Fixes #4705
Fixes #4626
Fixes #5903
2018-07-19 16:53:19 +02:00
Jon Mosco a3ab45db8b updating kube-ps1 to align with upstream changes (#6995) 2018-07-19 16:32:31 +02:00
Marc Cornellà d302e3eebe
bundler: fix bundle version git error
It seems that `bundle version` calls git to know the commit sha, while `bundle --version` only shows the version of bundler.

Fixes #6988
2018-07-18 23:34:38 +02:00
Arun Sathiya f88396e327 wp-cli: fix README typo for wptu command (#6987) 2018-07-12 23:08:22 +02:00
Marc Cornellà 4c0b82b482 yarn: add README 2018-07-11 21:42:31 +02:00
Marc Cornellà 344b13c4a5 yarn: add aliases for common commands
Fixes #5722
Fixes #5864
Fixes #5920
Fixes #6566
Fixes #6579
Fixes #6686
Fixes #6740
2018-07-11 21:42:31 +02:00
Marc Cornellà 1a657c6c4d yarn: use zsh-completions completion (ff73f40)
Version: ff73f40 (2018-05-02)

Fixes #5859
Fixes #5878
Fixes #5983
Fixes #6013
2018-07-11 21:42:31 +02:00
Arthur 7cb5fa8aea Fix dotenv plugin accepted file format and clarify README (#6093)
* Fix dotenv plugin accepted file format

* clarify README and add disclaimer section
2018-07-10 23:31:47 +02:00
Azat S be342b1bc8 Yarn upgrade-interactive (#5796)
* Add Yarn upgrade-ineractive CLI command

* Remove dots at the end of completions
2018-07-10 13:41:20 +02:00
Thomas Kriechbaumer d232e6866c ufw: remove debug print (#6976) 2018-07-09 19:27:02 +02:00
Matthieu PETIOT b0052c7958 Add argument to set644 and set755 perms alias. (#6959)
This can avoid big mistakes as this I just made.
I thought I could give it an argument. So, now, it is possible.
2018-07-04 12:48:46 +02:00
Shawn Milochik dd8cf51397 Spelling fix (#6963) 2018-07-03 17:46:33 +02:00
Roman Sedov da8745eb9a convenient vscode plugin for oh-my-zsh (#6903) 2018-07-03 17:45:42 +02:00
Marc Cornellà 9711d8f731
Rename kube-ps1.zsh to kube-ps1.plugin.zsh 2018-07-02 17:04:09 +02:00
Alexandre Nicastro af085542bd Stop error "permission denied: /npm_completion" (#6340)
Fixes #5874

Related:
https://github.com/lukechilds/zsh-nvm/issues/23
https://github.com/zsh-users/antigen/issues/586
2018-07-01 23:21:20 +02:00
Maciej Sypień 5c0911c184 update nvm completions with v0.29.0 (#4701) 2018-07-01 23:12:14 +02:00
当轩 ac0d71467b add plugin:percol (#4582)
* add plugin:percol

* fix format

* check percol

* fix empty history in gnome terminal
2018-07-01 23:07:35 +02:00
Pierre Barbier de Reuille 27b9aed87f Added "-n name" option to vim-interaction plugin (#4522) 2018-07-01 20:48:53 +02:00
meehow c7d8ad1e75 sudo added to nmap commands which require sudo (#4476) 2018-07-01 20:45:15 +02:00
miguelpuyol 2732126525 Add Spring Boot Run command (#4460) 2018-07-01 20:42:29 +02:00
Alberto Re 29a2394c8f Adds `vagrant_prompt_info` function to your shell (#4081) 2018-07-01 20:16:08 +02:00
Shadab Zafar 78e7ec2186 Add magic-enter plugin (#4082)
* Added magic-enter plugin

To bind commonly used tasks to the enter key

* Allow the magic-enter commands to be modified by the user
2018-07-01 20:13:49 +02:00
Thomas Kriechbaumer 2de926aa10 add ufw completion script (#3835) 2018-07-01 20:00:09 +02:00
Hosmel Quintana 4aaafc0fe8 Add Homestead plugin (#3712) 2018-07-01 19:39:44 +02:00
Michael Stucki 302270174d Use existing ssh-agent when invoking a sudo shell (#3891)
When invoking a shell as root using ```sudo -s```, the ssh-agent plugin
starts a new agent although it already exists.

The problem boils down to a check if ssh-agent is running using
```ps x```. If that is extended to ```ps ax``` for root, then the
existing ssh-agent will still work.
2018-07-01 18:20:34 +02:00
Justin Aiken b09890a3e4 Added more levels of zeus compeletion (#2058) 2018-06-30 22:45:20 +02:00
Michal Juriš b6ca933a02 Add alias for 'git rebase develop' (#6006) 2018-06-30 22:25:53 +02:00
Sascha Rudolph 0639582f73 6098 - add support for apt in debian plugin (#6122)
Signed-off-by: Sascha Rudolph <sascharenerudolph@gmail.com>
2018-06-29 18:22:46 +02:00
Marc Cornellà 76bfa7dd2a
rand-quote: refactor rand-quote function
- Make function variables local
- Use prompt color sequences
- Use guard clause to check for curl
- Improved syntax
2018-06-29 18:16:10 +02:00
Marc Cornellà 1e255a1a8d
rand-quote: add README 2018-06-29 17:55:55 +02:00
Marc Cornellà 787c6899d4
rand-quote: update URL
Fixes #6949
2018-06-29 17:50:32 +02:00
Jeremy Jones 547a6ce260 fix path completion issue with go run subcommand (#6929) 2018-06-24 06:52:53 +02:00
Ruben Di Battista 6c1dab2320 Fix autojump sourcing on OSX with Macports (#4801)
* Fix autojump sourcing on OSX with Macports

The last version of autojump available on Macports does not have
anymore different shell scripts (.sh, .zsh, .bash ...) to be sourced
but just one autojump.sh that takes care of that located at
/opt/local/etc/profile.d/autojump.sh

fix # 4625

* Fix bug with macports autojump on OSX.
2018-06-20 23:27:38 +02:00
doofin a0b8eab5f0 Update sbt.plugin.zsh (#6930) 2018-06-19 17:38:10 +02:00
Marc Cornellà 6af58f492f
common-aliases: delete unexistant command
`display_info` doesn't exist in any known platform

Fixes #5208
2018-06-18 22:47:51 +02:00
Elton Chen-Yu Ho 0d80e9b4ee Fix zshrc alias when $EDITOR uses parameters (#6146)
According to #5003

if one exports EDITOR with parameters, say:
`export EDITOR='subl -w'`
 
running command:
`zshrc`
 
will result in:
`zsh: command not found: subl -w`

This can be fixed by updating common-aliases.plugin.zsh line 16 with:
`alias zshrc='${=EDITOR} ~/.zshrc' # Quick access to the ~/.zshrc file`

Fixes #5003
2018-06-18 22:12:07 +02:00
Henry Bley-Vroman 48e2c828ef Thefuck: homebrew install documentation and thefuck repo link (#5940)
* Thefuck: homebrew install documentation and thefuck repo link
* thefuck: reformat error message
2018-06-18 21:04:42 +02:00
kang c99844d848 adb: fix `adb -s` device completion (#6489) 2018-06-17 00:07:03 +02:00
Przemysław Włodek f258bcba8d Fix yarn alias that conflicts with yeoman cli (#6453)
Yeoman cli alias is 'yo' so 'yarn outdated' can't be aliased to 'yo'.
See: http://yeoman.io/
2018-06-17 00:03:14 +02:00
Marc Cornellà ef1e89b44b meteor: fix formatting and reorganise 2018-06-15 23:06:09 +02:00
Adnan Y 125dd32361 meteor: completion updated with more commands 2018-06-15 23:05:45 +02:00
Yann VR 2647a8ccfd Meteor-1-2 arguments update (#4538)
Fixes #4280
Fixes #4321
2018-06-15 21:40:31 +02:00
Edwin de Jong 4105faf620 Update sbt to add publish-local to commands (#3112) 2018-06-15 21:04:25 +02:00
Parham Alvani 5efa5138bf silence mode of curl (#6898)
Uses silence mode of curl for better autocomplete.

Co-authored-by: Dominik Rimpf <dev@d-rimpf.de>
2018-06-14 20:32:15 +02:00
Marc Cornellà 09fbc16366
Refactor lein plugin (#6914)
* Add upstream lein completion (cee9029d)
* Delete lein.plugin.zsh
2018-06-12 20:45:38 +02:00
Marc Cornellà be5bff2e86
Allow FreeBSD to correctly detect number of CPUs
Use the same scheme as Darwin - sysctl instead of nproc, which doesn't exist in FreeBSD

Closes #2545

Co-authored-by: Daniel Bye <dbye@users.noreply.github.com>
2018-06-12 19:54:47 +02:00
Marc Cornellà 7a9bab1d77
Update tmuxinator completion to 03c8babb 2018-06-12 19:20:10 +02:00
Peter Butkovic 321200d708 added tmuxinator aliases (#3147) 2018-06-12 19:19:59 +02:00
Marc Cornellà 3dcf9fd662
Delete python completion in favor of zsh's one 2018-06-12 18:40:31 +02:00
Matteo Giaccone 0808c0f6ef Remove default for git reset (#4993)
The command will do the same as before, but now you can also specify
a path.

Example:
grh branch-name
grhh tag-name
2018-06-12 18:23:31 +02:00
Andre Figueiredo 019e0d7c71 fix(typo) (#6905)
*trupd* for "trizen -Sy" fixed to *trupg*
2018-06-10 18:55:47 +02:00
Marc Cornellà f461d21de1
virtualenvwrapper: set $WORKON_HOME if undefined
This uses the default that virtualenvwrapper.sh would set if it was called. If the user
changes its value after the plugin is loaded, the plugin will work all the same.

Fixes #6882
Closes #6870
Closes #6883
2018-06-06 17:14:19 +02:00
Paul Ossenbruggen 6ace3cd18d add xx command to Xcode plugin. Allows quick opening of files in Xcode. (#6812) 2018-06-05 06:37:20 -07:00
Marc Cornellà ebda8af870
Clarify ssh-agent settings position 2018-05-28 17:09:53 +02:00
Michael Fladischer ce2890bef9 [plugins/vundle] Use HTTPS to clone repository. (#6857)
The git protocol is likely to be blocked in some networks while HTTPS usually
works.
2018-05-28 11:23:05 +02:00
Erwan ROUSSEL 8bbef9180e Npm's plugin documentation (#6864)
* Documentation for Npm plugin added

* Fix style and add alias descriptions
2018-05-26 22:22:22 +02:00
Lorenzo Bolla 90a5bd06ca Prefer virtualenvwrapper_lazy (#6842)
This gives much faster start up times and only loads virtualenvwrapper
when needed.

Fix #6839
2018-05-26 20:44:49 +02:00
Marc Cornellà 5896c87155
shrink-path: match only the beginning of the directory (#6862)
Fixes #6317
2018-05-26 19:31:17 +02:00
Marc Cornellà 2294bae06a Merge branch 'shrink-path-chpwd-fix'
Closes #5930.
2018-05-26 19:07:46 +02:00
Kaleb Elwert 66cb4005ab Update shrink-path to use cd -q for bypassing the chpwd callbacks 2018-05-26 19:05:01 +02:00
Marc Cornellà c09783c255 Revert "unset chpwd_functions before running cd ... (#6830)"
This reverts commit 3dab7e46e8.
2018-05-26 19:02:03 +02:00
Pooya Parsa d6aeaad83d [plugin] update NPX docs (#6849) 2018-05-26 18:39:32 +02:00
Marc Cornellà 957eb77239
Merge pull request #6844 from lbolla/Issue6843
Cache kubectl completion script to file to speed up sourcing
2018-05-26 18:32:13 +02:00
Marc Cornellà 9b11b7e938
Update logic to follow npm plugin convention 2018-05-26 18:25:47 +02:00
Marc Cornellà ed0bd6b33c
added a transfer.sh plugin (#5854)
* added a transfer.sh plugin
created a function to easily upload files to transfer.sh file sharing site
Usage : transfer file.txt

* added README for transfer.sh plugin

* replaced transfer function with @nl5887 version

* updated transfer README.md

* modified the script to use tar command instead of zip

* Update README formatting

Co-authored-by: Remco Verhoef <remco@dutchcoders.io>
2018-05-25 20:56:59 +02:00
Marc Cornellà 3d8ee47c7a
Update README formatting 2018-05-25 20:44:56 +02:00
Chuan Jin 2642f0a8b4 Add git log with date (#6789) 2018-05-20 16:02:53 -07:00
Lorenzo Bolla ee96d0cf96 Fix 6840 Check emacsclient version instead of emacs's (#6841)
This is much faster.
2018-05-20 16:01:55 -07:00
Lorenzo Bolla 2956e7820e Fix 6843 Cache kubectl completion script to file to speed up sourcing 2018-05-20 13:46:27 +01:00
Mauro Porras P a600ab4b85 Minor fix: "stdin" instead of "stding" (#6801) 2018-05-17 16:30:03 +02:00
Matt Lewin d79086bc87 Update terraform plugin with v0.11.7 commands and help (#6834) 2018-05-17 16:18:20 +02:00
dt-rush 3dab7e46e8 unset chpwd_functions before running cd to work with the path, to avoid side-effects if the user has set any chpwd_functions which cause output, such as is the case if the user is using auto-ls (#6830) 2018-05-17 14:45:04 +02:00
Frank Wittig e8aaab56b9 allow . in profile names 2018-05-16 18:01:09 +02:00
Julien Palmas de1e3c0794 add pg:backups command 2018-05-16 17:52:11 +02:00
rco-ableton c3493dc5ce Add Heroku pipelines support (#5660) 2018-05-16 17:40:42 +02:00
Marc Cornellà 0aa645f803
pyenv: search the pyenv command if not found (#6811) 2018-05-15 12:07:23 +02:00
Varun Patro 6876d9c543 Update fasd.plugin.zsh (#6822)
If `EDITOR` variable contains arguments to an editor such as mine:
`export EDITOR=emacsclient -t -c --alternate-editor=''`
Then, the editor's arguments are passed on to `fasd`. To fix this, pass the EDITOR program in quotes.
2018-05-14 16:00:04 +02:00
Harald Nordgren 0608bb768f Use 'apt' instead of 'apt-get' for Ubuntu >=16.04 (#5787) 2018-05-14 15:09:56 +02:00
Quentin Nerden 919f0a42a0 Updated autocomplete and readme (#6720)
Signed-off-by: Troy Fontaine <tfontaine@troyfontaine.com>
2018-05-13 21:58:35 +02:00
Ian Chesal 0c63909ad3 Fix default location of the virtualenvwrapper script (#6348)
The `virtualenvwrapper` script has been relocated to
`/usr/local/bin/virtualenvwrapper.sh`. Update the
plugin to look in the new location first. See:

http://virtualenvwrapper.readthedocs.io/en/latest/#introduction

to confirm the change in location for this script.

This addresses issue #3047 where the solution was to source this file
from your zshrc.
2018-05-13 21:56:46 +02:00
Marc Cornellà d02d008579
Add directory hierarchy navigation to dirhistory (#6756)
* New Feature:
  Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
  ALT-UP moves to higher hierarchy (cd ..)
  ALT-DOWN moves into the first directory found in alphabetical order
2018-05-13 01:57:42 +02:00
Giuseppe Landolfi 8ebf2a6785 Fine-tune dirhistory plugin mappings for Mac (#6580)
See https://github.com/robbyrussell/oh-my-zsh/pull/6533#issuecomment-360878060
2018-05-13 01:53:45 +02:00
Xiao Fan 18effd77db last-working-dir: disable chpwd_last_working_dir in subshells (#6817) 2018-05-11 16:28:02 +02:00
Hosh e8c328cb39 Update AWS completion (#6745) 2018-05-10 20:53:16 +02:00
Quentin Nerden 825baeb310 Add autocomplete plugin for minikube (#6436) 2018-05-09 22:34:41 +02:00
Francisco Zuviría 18f7ca577a Adhere to coding style outlined in wiki 2018-05-08 12:55:59 -03:00
David Harrigan b7e544e6f1 gradle plugin should support kotlin gradle build files (#6529)
This change allows the gradle plugin to recongise build.gradle.kts files and
thus generate the autocomplete entries.

-=david=-

closes #6528
2018-05-08 13:13:11 +02:00
MikeDawg 0011d34f71 Removed duplicate fedora from plugins, dnf provides exact same features 2018-05-07 23:14:49 +02:00
Marc Cornellà 00f311a3c1
Add READMEs to plugins copydir and copyfile (#6802)
* Add README to copydir plugin

* Add README to copyfile plugin
2018-05-07 18:00:27 +02:00
Joseph Richey cafa657469 Correctly handle verbose/version flags for rustc (#6786)
See the help output for rustc (v1.25)
2018-05-01 15:21:12 +02:00
Oliver Baumann 493c30954b Parse branch-name for fresh repo (#6302)
Inside a fresh git repo, i.e. immediately after a `git init`, usually no
commit template exists yet. In this case, git renders a different
status message than "Initial commit on". We should consider this message
when attempting to parse out the branch name.

Fixes #6301
2018-04-30 16:25:02 +02:00
Ady Romantika 32952ec7e8 Add aliases for kubectl ingress (#6762) 2018-04-28 07:55:46 -07:00
Marc Cornellà 8eba19208d
Revert to checking if `enable-ssh-support` is set
Fixes #6772
2018-04-27 17:56:21 +02:00
Konstantin Zolotarev 9cd3701ac0 Added ecto tasks (#6035) 2018-04-25 22:12:19 +02:00
Cristian Álvarez Belaustegui bf87e99a14 Fix mix-fast plugin (#6708)
The mix command for listing all available actions has been changed from
`mix --help` to `mix help`.
2018-04-25 22:06:26 +02:00
George Kaklamanos acacfec924 Remove unneeded option in glol and glola (#6059) 2018-04-25 14:14:33 +02:00
Tomasz Borek b85c72b5f6 Better app error handling in curl (#5828)
Deals with app error page, saving true error instead.

Upon app failure, Heroku returns HTML "Application Error" page.
Finding HTML page in .gitignore is confusing, so I replaced
`-s` with `-f` in curl calls, which cuts such output.

Replace instead of addition as no progress meter outputs either.

It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.
      -- E. W. Dijkstra
2018-04-25 14:11:46 +02:00
Marc Cornellà ef70990ce1
Simplify hub check and hardcode aliasing (#6767)
* Simplify hub check and hardcode aliasing

* Update hub completion
2018-04-24 22:02:58 +02:00
oooooooo c117d241cb $ rails runner [TAB] *complete* (#5881) 2018-04-23 20:36:55 +02:00
Marc Cornellà cf5ccf06a0
[subl] Fix local variable definition
Fixes #6757
2018-04-23 13:06:49 +02:00
Francisco Zuviría 7bb7ce62d3 On branch fzuviria.plugin.dirhistory.new-feature.navigate-history
Changes to be committed:
	modified:   dirhistory/dirhistory.plugin.zsh

New Feature:
  Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
  ALT-UP moves to higher hierarchy (cd ..)
  ALT-DOWN moves into the first directory found in alphabetical order
2018-04-22 22:34:26 -03:00
Julian Laubstein c7185c35f3 Add completions to asdf plugin (#6046) 2018-04-22 20:27:12 +02:00
Terrance Kennedy 8efcf2776b pyenv plugin refactor (8x faster) (#6165)
* Refactor pyenv plugin to use PATH
2018-04-22 20:03:58 +02:00
Andrew Janke cea941ce42 sublime plugin: make "local" work by wrapping in anon function 2018-04-22 18:37:05 +02:00
Andrew Janke 13c840fa3e Remove the GPL LICENSE file b/c it's no longer relevant 2018-04-22 18:25:58 +02:00
Andrew Janke ef68878b22 Rebuild the chucknorris fortune file with a scrapper, using 20 pages worth
NOTE: The scrapper was previously included, but due to the website it scrapped
being dead it's no longer useful. See #3642 for the code.

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2018-04-22 18:24:12 +02:00
Marc Cornellà fbbe902c38 zsh_reload: add README 2018-04-22 12:55:21 +02:00
Marc Cornellà 405b8f220a zsh_reload: use `exec zsh` instead of `source ~/.zshrc`
`source ~/.zshrc` is a bad practice, it doesn't make sure that the full
zsh session is reloaded and it may have side effects.

Use `$SHELL` as the path to zsh if it exists (this will fix edge cases
where the zsh used is not the first on $PATH). Otherwise, use `zsh`.
2018-04-22 12:55:13 +02:00
Marc Cornellà 8706c8eb64 zsh_reload: ignore insecure compinit files 2018-04-22 12:50:00 +02:00
Marc Cornellà 9a7c56dcdd zsh_reload: fix code style and indent with tabs 2018-04-22 12:50:00 +02:00
Chris Fleming 9a71864288 Fix gpg-agent plugin checks (#6469)
* Always try and start gpg-agent, with --use-standard-socket it will try and use a standard socket directory. It won't start multiple agents if agent is already running. In addition, XDG_RUNTIME_DIR isn't always set

* ssh socket if broken if --daemon is run again, so onky start if we don't have a socket

* Removed unnecessary allocation of GPG_SSH_AUTH_SOCK
2018-04-21 22:26:36 +02:00
Darius Grigalevicius 5c047ae8ba updated symfony plugin to add entity generation and schema update aliases (#5042) 2018-04-15 21:55:47 +02:00
Marc Cornellà ef9044c722 Fix styling and format of hanami README 2018-04-15 20:25:50 +02:00
Artem Pyankov 7c62c57b9f Add table of aliases for hanami plugin 2018-04-15 20:08:52 +02:00
Artem Pyankov e64cdc9ec4 Add README for hanami plugin 2018-04-15 20:08:52 +02:00
Artem Pyankov 0bd9e5d859 Add hanami plugin inspired by rails 2018-04-15 20:08:51 +02:00
Erwan ROUSSEL a8f3b374d8 npm init (#6648) 2018-04-15 19:54:42 +02:00
Marc Cornellà cfec5d56df [archlinux] add recent aliases and functions to readme 2018-04-15 19:18:25 +02:00
Philippe Proulx dc57d1881b plugins/archlinux: add pacls, pacown, pacweb 2018-04-15 19:13:39 +02:00
Marc Cornellà 2fce6a0faf
[archlinux] Fix function syntax to avoid clashes with aliases
See https://bugs.debian.org/871816

Fixes #6592
2018-04-15 15:53:43 +02:00
Marc Cornellà aa5279f2dc
Fix typo that resulted in math error (#6731)
[emotty] fix typo that resulted in math error
2018-04-15 15:20:26 +02:00
Alexis Hildebrandt 88d21fea6c Improve emotty plugin (#5999)
* The display_emotty function show the name of the displayed emotty set

* Unless an emotty set was given show the emotty set configured
  in $emotty_set
2018-04-15 15:16:44 +02:00
Arthur Brainville 30a5124f9d Added trizen to the archlinux plugin (#6650)
* Added trizen to the archlinux plugin

trizen is the recomended solution for using the Arch User Repository.
both yaourt and pacaur have some issues.

Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>

* Add trizen aliases to the readme

Also fixed inconsistency in formatting on readme file.
(also added myself in the contributor list)
2018-04-15 14:47:08 +02:00
Franz König 15d051c32b hotfix for archlinux.plugin.zsh (#5909)
Co-authored-by: dalu <2694548+dalu@users.noreply.github.com>
2018-04-15 13:38:25 +02:00
Eric Hudon 2aa2ea744e Change the br argument to branch to follow PR #6678. (#6680) 2018-04-15 13:17:23 +02:00
Jean-Benoit Griesner 62b8a70a7c Add Qwant engine - web_search plugin (#6701)
Co-authored-by: Maxime AURIAU <maxime.auriau@dnd.fr>
2018-04-06 19:09:00 +02:00
fREW Schmidt 9b1c21a409 Get rid of some silly copy pasta (#3187)
Said gem instead of vagrant
2018-04-02 13:43:41 +02:00
Zopanix afb028763c MOdified README to reflect changes for myissues command 2018-03-27 09:16:43 -04:00
Zopanix 132bffcbe1 Added a myissues option
This will allow the user to directly open the my open issues page. This
will make it easier  for the user to open his open issues in jira.
2018-03-26 21:04:27 -04:00
Lauri Lavanti 0cec462621 Add docker-compose start alias 'dcstart' (#6675) 2018-03-18 14:10:58 -07:00
Eric Hudon 5f2c34374b Change the br action to branch to be more explicit. (#6678) 2018-03-18 14:10:34 -07:00
Lauri Lavanti ce23ef9a2f Add alias for docker-compose pull (#6665) 2018-03-09 08:14:51 -08:00
Jon Mosco e6e2b3d42f kube-ps1 zsh prompt helper (#6507) 2018-03-09 08:14:36 -08:00
Andrea Giardini afad3e1f8d Add kubectl alias for apply (#6662) 2018-03-09 08:14:09 -08:00
Luke 7c2028e84e Update/add kubectl logging commands (#6639) 2018-03-09 08:12:42 -08:00
Andrew Matheny 84e9066984 Update docker-compose autocompletion (#6607) 2018-03-09 08:11:52 -08:00
Nikolay Panov 52c4e134cc Update django.plugin.zsh (#6634)
Added support for 'showmigrations' django command.
2018-03-09 08:11:30 -08:00
vadimkim 6d75f556e0 fix "kubectl logs" (#6667)
logs doesn't have "pods" parameter
2018-03-09 08:11:09 -08:00
Vsevolod Romashov 37c2d0ddd7 add hanami to the list of wrapped gems (#6334) 2018-01-22 19:35:17 -08:00
Samuel BERTHE ツ 15a681d266 Adding whatthecommit to lol plugin (#6289) 2018-01-22 19:25:15 -08:00
David Leitner 3f654922de Update extract.plugin.zsh (#6516) 2018-01-22 19:24:18 -08:00
Jake Stanley 8f5e5233fb added stn create_project function for stubbing sublime-project files (#6515) 2018-01-22 19:23:36 -08:00
Michael Nikitochkin e5dae3d331 add -auto-approve flag to terraform apply command (#6558) 2018-01-22 19:19:57 -08:00
Jeremy Worboys 7a0dac8040 Add ExpressionEngine CMS autocompletion (#6556) 2018-01-22 19:19:03 -08:00
Giuseppe Landolfi 215e43aa8a Add support for Mac to dirhistory plugin (#6533)
Add shortcuts for mac keyboards as an alternative to alt+left
abd alt+right: mac users can now use opt+left and opt+right.
2018-01-22 19:18:45 -08:00
Steve 28cd683282 updated alias and corrected python package (#6520) 2018-01-22 19:18:03 -08:00
Alexey Pristavkin d22189848e Update of docker completion (#6542) 2018-01-22 19:14:55 -08:00
arizzubair f6a4e37e88 Update README.md (#6554)
Minor spelling mistake.
2018-01-22 19:14:32 -08:00
Harish Narayanan c3b072eace Replace spotify command in the osx plugin with a more recent copy of the upstream project (#6419)
* Remove older shpotify code from the macOS plugin

* Add Shpotify 2.0.1 from the upstream repository at https://github.com/hnarayanan/shpotify/releases/tag/2.0.1

* Wrap the Shpotify script in a function and import into the macOS plugin

* Fix import path of the shpotify script

* Add shpotify permission notice in the macos plugin rREADME

* Merge with the upstream shpotify project

- Fix playlist playback
- Add a 'stop' command
2017-12-14 08:01:32 -08:00
yongxin SHI a7fb55cf13 add pip --user (#6470) 2017-12-07 15:53:10 -08:00
kg e999f104e7 Update adb (#6472) 2017-12-07 15:52:52 -08:00
kg 2af2d1aa31 add autocomplete for adb -s option (#6121) 2017-12-04 15:08:07 -08:00
Brandon Weaver e273cf004e Update ruby.plugin.zsh (#2117)
Added some Gem command shorthands, and ruby shorthand
2017-11-14 06:37:31 -08:00
Michael Nikitochkin 510d90749f Fix the terraform function name (#6418)
* Fix the terraform function name

Current function name do worse. I always use `terr<TAB>` and before those prompt it was add space in the end. Now because we have multiple functions and binaries started with terraform there are no space.

* Updated terraform readme

Updated the name of new function name
2017-11-14 06:36:22 -08:00
Ning Sun 2bd24f7e0d Fixed Pacaur aliases (#6416)
`pacaur -Syua` only updated AUR pakcages, wihch is incompatible with semantics of `pacupg` and `yaupg`. Removing `-a` here it would work for both main repos and aur.
2017-11-14 06:35:55 -08:00
Antonis Kalipetis 41eedd3700 Update Docker completion plugin (#6410) 2017-11-11 09:40:03 -08:00
Markus Færevaag dcb8101fde [wd] Fix update of wd plugin to v0.4.6 (#6407) 2017-11-09 15:10:33 -08:00
Juanra Núñez 7cea8475fb Added aliases for listing packages (#6374)
Added 'agli' to list all installed packages.
Added 'aglu' to list available updates only.
2017-11-08 14:03:11 -08:00
Paweł Czochański 2c87f85ad5 Fix wrong $GNUPGHOME usage in gpg-agent plugin (#6403)
$GNUPGHOME variable was used incorrectly and caused a grep error when
set.
2017-11-08 14:02:38 -08:00
Aviv A. Rosenberg 85401d4811 Plugin for iTerm2 (#3790)
* Plugin for iTerm2 on OSX

iTerm2 is a popular terminal emulator for OSX (https://www.iterm2.com).

The plugin currently implements one function, iterm2_profile, which
allows easily changing the currently selected user settings profile,
without creating a new tab or window, just by calling the function.

For example, this is handy for switching from a dark to a light colored
profile without having to re-open anything.

In addition, it also works within tmux running inside iTerm2.

* iTerm2 Plugin: Run any iTerm2 command

Refactored the plugin so that it can run arbitrary iTerm2 commands.
Should work with any of the supported commands, see
https://iterm2.com/documentation-escape-codes.html

* iTerm2 Plugin: Add functions to change tab color
2017-11-07 08:11:21 -08:00
Mahmoud Hossam ed85147e6e Rename clashing ag alias (#5849)
* Fix ubuntu ag alias clashing with the silver searcher

* Add aliases for git apply and git merge --abort
2017-11-07 08:06:41 -08:00
Jonathan Channon 5486aa21eb Added --force-with-lease method (#5025) 2017-11-07 08:06:19 -08:00
Jakub Sacha 766b47d8b8 Add docker-machine plugin (#4782) 2017-11-07 08:05:19 -08:00
Paweł Czochański c2fb24a792 Fixed the gpg-agent plugin for new gpg versions (#6140)
The gpg-agent plugin did not work for gpg versions above or equal to
2.1 because of the `--write-env-file` option deprecation. This new version
works fine and also enables the ssh-agent support only if it is enabled in the
gpg-agent config file.
2017-11-07 08:04:38 -08:00
T0mK0 9d6b6c5ce1 speed up chruby plugin by eliminating(as much as possible) calls to brew (#6080)
* speed up chruby plugin by eliminating(as much as possible) calls to brew

* speed up aws plugin by eliminating(as much as possible) calls to brew
2017-11-07 08:03:54 -08:00
Nur Rony 47039f645f feature(plugins): adds kops (kubernetes operations) plugin (#6107) 2017-11-07 08:03:14 -08:00
Michael Favia 790712f6f2 Add aliases for kubectl to speed up repetitive commands. (#5856) 2017-11-07 08:00:14 -08:00
Luke Lazurite dfc03c7bb6 optimize load of pyenv with homebrew (#6142) 2017-11-07 07:57:07 -08:00
Kevin Kirkup 9edde0950e Add OpenShift autocompletion (#6049) 2017-11-07 07:55:24 -08:00
Marcel Siegert 63cfade9a4 Prepend function keyword in colored-man-pages plugin (#6238)
Resolves: #6237
2017-11-07 07:51:38 -08:00
jrisebor 1fca822ab2 Fix Standard Error Redirection for composer plugin (#5935) 2017-11-07 07:50:08 -08:00
Maciej Lasyk d12c2ea4e8 Plugins: Terraform (#6373)
Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt
2017-11-07 07:45:25 -08:00
Markus Færevaag 46062e25cc [wd] Update wd plugin to latest (#6383)
* Update wd plugin to v0.4.5

* [wd] Update wd plugin to v0.4.6
2017-11-07 07:40:24 -08:00
Vincent 9edb3fceba Added: Helm plugins (#6265) 2017-11-06 06:49:27 -08:00
Pooya Parsa b53fbc36c1 plugin: npx (#6152) 2017-11-06 06:48:56 -08:00
Nicolas Cavigneaux 9dab0af11f Set RBENV_ROOT to "$HOME/.rbenv" if not already set (#6324)
This is the default behavior of rbenv and what users are expecting
most of the time.

It allows users to have their own set of rubies and gems. It also
prevents losing all rubies when rbenv is updated using Homebrew which
is not true when RBENV_ROOT is set to /usr/local/opt/rbenv.
2017-11-06 06:43:03 -08:00
Tiago Rinaldi d072c0fbec Change `agud` alias from `dist-upgrade` to `full-upgrade` (#6384) 2017-11-06 06:41:33 -08:00
Canux 1ec5bab7d8 fix conflict with command ag (#6395)
ag is a famous command just like grep.
2017-11-06 06:41:13 -08:00
William Bautista d6ccb41d0b Update Yarn plugin alias (#6246) 2017-11-04 10:41:14 -07:00
Athaher Sirnaik d29784e1ae Improved npm aliases: run, publish (#6354) 2017-11-04 10:35:44 -07:00
Sebastian Schlein fb1227088d Enhanced Laravel 5 Plugin (#6376) 2017-11-04 10:34:31 -07:00
David Librera 905eb815fa Check first for bin/stubs directory in _rails_command and _rake_command (#6372) 2017-11-04 10:33:57 -07:00
ramanduh 93120c4151 jira plugin: take into account action argument (fix #6388) (#6393) 2017-11-04 10:31:42 -07:00
Mike Reardon 4cb730773b Added 'clean verify' to the mvn plugin targets (#6339) 2017-11-01 06:21:49 -07:00
Arthur Schneider 0fc2414095 Update git-flow aliases (#6335)
It is possible to pull and push branches to/from origin
2017-11-01 06:09:31 -07:00
Jarryd Tilbrook 6d5b1f1e3b Allow jira default action file based setting (#6367) 2017-11-01 06:09:10 -07:00
Wenzheng Jiang 1e027509d8 Add nixos support for autojump plugin (#6365) 2017-11-01 06:05:35 -07:00
Jarryd Tilbrook 529a12fac8 Add shortcut for opening current branch in Jira (#6366) 2017-11-01 06:04:41 -07:00
bjorn3 e8e7bf3b89 Update rust plugin for latest rustc (#6342)
* Update for latest rustc

* Some debug option updates

* Add some cargo flags

* Fix bug in cargo plugin
2017-11-01 06:04:03 -07:00
Markus Færevaag 2102d10896 [wd] Update wd plugin to latest version (#6371)
* [wd] Update wd plugin to v0.4.3

* [wd] Update wd plugin to v0.4.4
2017-11-01 06:03:34 -07:00
madpawel b5898a5ec6 add -backend-config flag to terraform init command (#6370) 2017-11-01 05:56:29 -07:00
Tomas Chmelevskij 1700c948b4 Add chaced word diff (#6378) 2017-11-01 05:55:19 -07:00
Zach Whitten 57742ccd72 Update to mix plugin to support Phoenix v1.3.0+ tasks (#6355) 2017-11-01 05:23:14 -07:00
Janosch Knack accdcb2f1c improved maven plugin (#6298)
* added some apache maven plugins

added arguments
added longversion of arguments

* SC2006 shellcheck
see https://github.com/koalaman/shellcheck/wiki/SC2006

* SC2068 shellcheck
see https://github.com/koalaman/shellcheck/wiki/SC2068

* SC2086 shellcheck

see https://github.com/koalaman/shellcheck/wiki/SC2086

* shellcheck is not always right ;)
2017-09-24 11:19:49 -07:00
Mauro Porras P d848c94804 Add React Native aliases for logs (#5756) 2017-06-22 11:38:34 -07:00
Tobias Preuss 1c958e02a5 Extend list of adb commands. (#5584) 2017-06-07 14:47:47 -07:00
Avi Israeli d874c73f19 itunes playlist first commit (#5860)
Added playlist feature for the itunes command: 
if a variable is passed and is valid - will play the playlist
if a variable is passed and is invalid(no such playlist) - will stop all playing
if no variable is passed will print all playlists available on the host
2017-02-22 23:53:27 -08:00
Franz König ef9f3d97f0 Added pacman file aliases (#5869) 2017-02-22 23:52:56 -08:00
Ricardo Pérez 4fba92e04f Use proper config bin directory (#5886)
Add the proper config bin directory to `PATH` instead of the previously (incorrect) fixed `~/.composer/vendor/bin`. Nowadays the right config dir is `~/.config/composer/vendor/bin`.
2017-02-22 23:52:23 -08:00
guyzmo 8611aa8049 Fixing battery prompt formatting issue (cf #5894) (#5895)
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
2017-02-22 23:50:49 -08:00
travoltron 98d8d3429f Update composer.plugin.zsh (#5889)
Adds remove/global remove and optimize-autoloader commands.
2017-02-20 10:21:36 -08:00
grh2g46 9bbcceda97 add missing new line escape (#5896)
missing \ was causing command not found errors when tab completing docker build -t <tab>
2017-02-20 10:20:53 -08:00
Ilyes Kechidi c36474b7df modified the script to use tar command instead of zip 2017-02-09 19:41:09 +01:00
Ilyes Kechidi 6cefe70ffc updated transfer README.md 2017-02-09 02:29:24 +01:00
Ilyes Kechidi 845fdfaae0 replaced transfer function with @nl5887 version 2017-02-09 02:28:33 +01:00
slavaGanzin d2dfa69419 change name of overriden zle-line-init 2017-02-07 15:44:12 +02:00
Ilyes Kechidi 8013d3d8a9 added README for transfer.sh plugin 2017-02-07 14:40:21 +01:00
Ilyes Kechidi 76c102944c added a transfer.sh plugin
created a function to easily upload files to transfer.sh file sharing
site
Usage : transfer file.txt
2017-02-07 14:32:32 +01:00
Ruslan Voronkov d2725d44fc Add goodreads search provider (#5778) 2017-01-15 11:21:36 -08:00
Italo Maia cae540f899 Adding new path to look for activate.sh (#5654)
If autoenv was installed with pip and modifier --user, activate.sh will be at .local/bin
2017-01-05 11:41:53 +01:00
Eric Wendelin 4608231b25 Improved gradle options (arguments) completion (#5743)
* Sort gradle options for autocompletion

This will allow us to more easily keep the options list up-to-date

* Add missing gradle options to gradle plugin

Reflect documentation at
https://docs.gradle.org/3.2.1/userguide/gradle_command_line.html
2017-01-04 12:26:23 +01:00
Ryan Brushett ff5629e60b Improve UX for Spotify quit command in osx plugin (#5726)
* Improve UX for Spotify commands in osx plugin

Spotify command UX is a bit weak for people who live and work almost entirely in shells.
- `spotify quit` should not open Spotify if it is not already running. Should confirm that Spotify is indeed not running.
- `spotify quit` should not blow away the user's shell once Spotify is quit. This can be a disruption to work flow.

This PR looks to add a few little checks which will help improve this experience.
This PR also adds a space to line 477 between `break` and `;;` for consistency. Doesn't seem like a big enough change to put in its own PR.

* Rearranging output as per peer feedback

* osx plugin's spotify: change quitting w/ closing

Closing is more idiomatic English.
2016-12-30 18:59:17 +01:00
Patrick José Pereira c362da8813 'plugins/z/z.1: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 13e327eb7c 'plugins/z/README: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 223872c453 'plugins/ubuntu/ubuntu.plugin.zsh: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 8c6ac51f3f 'plugins/ubuntu/readme.md: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 87bc218d2d 'plugins/terraform/_terraform: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 75663be294 'plugins/suse/suse.plugin.zsh: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 093c2cd6b6 'plugins/scala/_scala: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 1bebbbf50a 'plugins/history-substring-search/history-substring-search.zsh: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 7079e67c11 'plugins/gnu-utils/gnu-utils.plugin.zsh: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira eac098b55c 'plugins/droplr/README.md: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Marc Cornellà 97c0384169 Add more information to cask plugin README 2016-12-18 05:02:08 +01:00
Dennis Rippinger 5fa674456a Add mvn asciidoctor commands (#5645)
* Add mvn asciidoctor commands
* Fix formatting in mvn plugin
2016-12-18 03:34:16 +01:00
Nathan Bolender dfd296a936 Update react-native autocomplete arguments (#5646) 2016-12-18 03:27:08 +01:00
Jaehyun Shin e66bf038c7 Add heroku `features` command to completion (#5667) 2016-12-17 23:03:02 +01:00
Mauro Porras P c6de77ca99 Add a React Native alias, and one to start the web server (#5711)
* Add a React Native alias, and one to start the web server

* Reorganise aliases in react-native plugin

* Update README for react-native plugin:

  Fix format and add a brief description
  Add missing aliases in react-native plugin README
2016-12-17 22:52:01 +01:00
Geoff Lane 1ca2fe63de Add file completion to `mix run` (#5673) 2016-12-17 22:32:53 +01:00
Felipe Guilherme 456341fd69 Add git alias for staging tracked files (#5178)
Although `gaa` (git add --all) is cool, it stages every file, tracked or
not, if it is not on .gitignore.

Sometimes we want to just stage everything we are working on, that is
already tracked. For that reason, 'gau' can save us some time.
2016-12-17 18:01:13 +01:00
Dariusz Luksza 6fe2028a12 Fix emacs client terminal
Fixes #3305

Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
2016-12-15 12:27:30 +01:00
Marc Cornellà 67dad45b38 docker: update completion (upstream 2fe62f2)
Closes #5683
2016-12-14 23:22:26 +01:00
Arthur 8d35fa0e2f add dotenv plugin (#4373) 2016-12-14 17:49:08 +01:00
Erik Zivkovic 3b13dc07d8 gradle: extract simple task names from subproject tasks (#5704)
Currently, only tasks with complete subproject specifier are added to
.gradletasknamecache. Gradle commands can be called for all (sub-)projects
they are defined for, using their name as defined in the subproject, here
called "simple" task names. One example is "gradle clean".

This patch adds support for parsing out those "simple" task names from the list
of fully specified task names. The .gradletasknamecache file will contain
both the fully specified names, and the "simple" names for your autocompletion
pleasure.
2016-12-14 17:25:48 +01:00
Rarylson Freitas 26aae6b583 Fix (plugins debian and ubuntu): `apt-history list` using `zgrep` (#5695)
Changing from `zcat` to `zgrep` because some `zcat` implementations do not work
if the file is not compressed.
2016-12-08 21:49:58 +01:00
Thomas Paul Mann 6ee6a734c2 swift-pm: Rename plugin to 'swiftpm' (#5674) 2016-11-30 00:20:43 +01:00
Thomas Paul Mann 037764acc3 Add plugin for Swift Package Manager (#5670)
* Add plugin for Swift Package Manager
* swift-package-manager: Rename plugin to 'swift-pm'
2016-11-28 21:08:34 +01:00
Eduardo Bizarro 9d43dc88bb Yarn (https://yarnpkg.com) completion support (#5542)
* yarn completion
2016-11-23 18:50:14 +01:00
slavaGanzin a90527b46d fix FETCH_LOG bug 2016-11-17 15:51:40 +02:00
slavaGanzin 41e65c0872 remove trash 2016-11-17 15:30:27 +02:00
Jason Kurian 3477ff2527 feat: no CI on WIP commits (#5643) 2016-11-16 10:42:46 +01:00
Marc Cornellà 62b0abdb6e brew: fix disclaimer shown if mkdir is aliased
Fixes #5623.
2016-11-11 15:20:11 +01:00
hjpotter92 fe96d19421 Update endpoint from HTTP to HTTPS (#5622) 2016-11-11 03:17:43 +01:00
Marc Cornellà 6685aac42c dircycle: fix error on insert-cycledleft if dirstack is empty 2016-11-10 19:46:15 +01:00
Sachin George Thomas cf37697920 node: open module-specific node documentation (#5572) 2016-11-02 15:52:14 +01:00
psprint 73591101b6 znt: Update to v2.2.7 (#5576) 2016-11-02 13:08:58 +01:00
Marc Cornellà 0f62b7a8d8 common-aliases: check if `$XIVIEWER` is defined and minor fixes 2016-11-02 11:18:38 +01:00
Marc Cornellà cb26c2f614 common-aliases: minor style fixes 2016-11-02 11:03:47 +01:00
Marc Cornellà fc4e0cd7ba common-aliases: check if $BROWSER is defined on browser aliases 2016-11-02 11:02:58 +01:00
Marco De Bortoli d47a722192 PHP suffix alias should be removed
PHP can be executed as CLI script but due to the automated attempt
to add browser support to that extension such ability is prevented
in certain circumstances.
2016-11-02 11:00:27 +01:00
slavaGanzin 41ad705f93 cut comments 2016-10-27 00:03:31 +03:00
slavaGanzin dbee3dd9c6 1. autofetch on zle-line-init
2. GIT_AUTO_FETCH_INTERVAL
2016-10-26 23:47:51 +03:00
Marc Cornellà 0ee89d965e Add brew completion missing disclaimer 2016-10-25 07:17:29 +02:00
Michał Ordon d9695a8b00 Add more simulator aliases (#5550) 2016-10-25 06:29:35 +02:00
jotadrilo b1efd04f94 add docker-compose down alias (#5557)
* add docker-compose down alias

* rename `docker-compose down` alias to `dcdn`
2016-10-25 06:25:07 +02:00
Marc Cornellà 37bf9186a0 Update docker completion (2015-10-25)
Closes #5568

Source:
c9fdf9abf8
2016-10-25 05:43:11 +02:00
kennyklee 5cd7ad38cb Fix regex for optional http(s), and variable reference inside osascript. 2016-10-17 12:41:04 +02:00
Hong a56eac7a71 Use OSTYPE instead of uname whenever possible for better speed. (#5496) 2016-10-10 22:24:30 +02:00
slavaGanzin 9f2977f3eb reimplement 2016-10-10 22:33:32 +03:00
slavaGanzin 028fdf2e99 add coloring 2016-10-10 22:33:09 +03:00
Michel Filipe 3be4108d72 remove duplicate alias (#5508)
Removing one "apt-get autoremove" alias because it is duplicated.
2016-10-09 19:36:47 +02:00
Florian Boulay cd37d19dda Add m4a format in the common aliases plugin (#5502)
The m4a file format can be opened in the command line with mplayer
2016-10-08 08:26:10 +02:00
diego d69f2850af Add non 0 exit code for missing jump targets (#5500)
This allows for the user to combine the jump command with something else. In my example cd and jump are now combined like this:

```bash
jumpcd() {
        jump $1 > /dev/null || cd $1
}
alias cd="jumpcd"
```
2016-10-07 23:54:54 +02:00
slavaGanzin ac7dcdb21c add colors 2016-10-06 16:55:21 +03:00
slavaGanzin 25fcf0c265 git-auto-fetch: README.md 2016-10-04 21:34:29 +03:00
slavaGanzin 1427fbffef redirect output 2016-10-04 21:34:29 +03:00
slavaGanzin a1200f5bcc git auto fetch on change directory 2016-10-04 21:34:29 +03:00
Marc Cornellà 7f9b773350 Fix compdef commands in git plugin
The command `compdef command=git` returns an error in some cases, the
appropriate command is `compdef _git command`.

Fixes #5442
2016-10-04 17:23:20 +02:00
Marc Cornellà 7f06a0cd82 Merge pull request #5463 from slavaGanzin/globalias
Fixes #4834
2016-10-04 14:50:28 +02:00
Marc Cornellà 3cc61701bd Update per-directory-history plugin to latest version (#5493)
Latest version: February 17, 2016 - dd81201
2016-10-04 13:56:25 +02:00
Marc Cornellà f701b4de0f Fix formatting and usage section
Also:

- Changes `globes` (which doesn't exist) to `glob expressions`.

- Delete the `trigger autocompletion to your current aliases` use case, since that's not
  really implemented.
2016-10-04 13:55:11 +02:00
slavaGanzin 6eaa868cd9 fix comment 2016-10-04 14:05:41 +03:00
slavaGanzin 75f87dd24e README for globalias 2016-10-04 14:03:37 +03:00
slavaGanzin 86126233bb specify globalias modes 2016-10-04 12:21:18 +03:00
Marc Cornellà 81981ef248 Fix cp plugin completion and refactor (#5427)
* cp plugin: change cpv to function so that completion works

* cp plugin: show numbers in units of 1024 (K,M,G,T)

Use `-h` level (3): output numbers in units of 1024.
See the manpage of rsync for more information.

* cp plugin: add a README file

* cp plugin: recurse directories

* cp plugin: remove `--` to separate files from options

This has some undesired effects, like having `cpv --help` be a file
not found error.

Use `--` yourself if you need it (which you generally don't):

```zsh
cpv -- -some-file-with-hyphens.txt /tmp
```

Added this same info to the README.
2016-10-04 01:03:16 +02:00
Mats Faugli d57f36dab8 Add jgitflow maven goals (#5489) 2016-10-04 00:47:59 +02:00
Michał Ordon 2a0223370a Add an alias for React Native Link command (#5491) 2016-10-04 00:37:35 +02:00
Marc Cornellà 16074a1c4d Merge branch 'add-cargo-plugin'
Adds commits from #3007 and #5158.

Closes #3007
Closes #5158

Fixes #5246
2016-10-04 00:18:18 +02:00
Marc Cornellà 16bd691b3b Add README for the cargo plugin 2016-10-04 00:17:38 +02:00
Zaki Manian 915b0e46f2 Add completion for cargo, the rust build tool
Copy of the official repository:
https://github.com/rust-lang/cargo/tree/master/src/etc

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-10-04 00:15:46 +02:00
Laurent Commarieu dfd7bf9f41 feat(nomad): add common commands and new readme 2016-10-04 00:03:14 +02:00
Laurent Commarieu 6b7003c3ef feat(plugin): add nomad 2016-10-04 00:03:14 +02:00
Henrik Johansson 0887a7eb50 Added simple support for Cargo -
the Rust build system
2016-10-03 19:09:59 +02:00
savimat 6d975f7258 Add alias for signed git commit with message (#5390)
Signed-off-by: Mat Munn <mat@savi.com.au>
2016-10-03 01:11:26 +02:00
Marc Cornellà cd44246415 Fix small copy-editing mistake in archlinux README 2016-10-03 01:04:16 +02:00
Moses Miller e418a2bb92 Updated README of the archlinux plugin 2016-10-03 01:02:44 +02:00
Moses Miller 485dd2b736 Add pacaur compatibility to archlinux plugin + refactor 2016-10-03 01:02:44 +02:00
Juraj Fiala eaf18167bb Added pacaur aliases
This commit removes most of its contents: it just leaves the
contribution signature. The rest is obsolete and superseeded
by #5460, but the contribution is still valuable.

Related: #4263.

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-10-03 01:02:18 +02:00
Florian Wilhelm d186bc30d0 Add aliases for docker-compose logs (#5475) 2016-10-02 16:34:54 +02:00
Adrian Petrescu 9263e9ca59 Add /usr/local/bin to autoenv search path (#5481)
The current list of directories to search for autoenv on misses the default location on Ubuntu systems if you just do a normal `pip install autoenv` - [it will place](https://github.com/kennethreitz/autoenv/blob/master/setup.py#L16) `activate.sh` in `/usr/local/bin` unless you manually override the `--prefix` or something.

The `/usr/local/opt/autoenv` is fine for macOS/homebrew installations but it would be nice not to have to manually patch on Linux :)
2016-09-30 23:39:32 +02:00
Marc Cornellà c488ab15f3 last-working-dir: add README 2016-09-30 20:11:17 +02:00
Marc Cornellà fb6738a7e1 last-working-dir: don't jump if not in $HOME 2016-09-30 20:11:17 +02:00
Marc Cornellà 8ea56633a4 last-working-dir: clean up source 2016-09-30 20:11:17 +02:00
Manuel Hutter 3de0235ad2 Add missing newline to end of `spotify status` output (#5480) 2016-09-30 19:54:27 +02:00
Allan Lewis c713407f90 git.plugin.zsh: Don't run Git hooks when making a WIP commit (#4751)
When making a WIP commit, we generally just want to save the state of the
current branch temporarily, maybe because we want to push our work for backup
purposes, or change branch to work on something else. Therefore, it's generally
undesirable to run Git hooks, which might do things like run linters, because
we probably don't care if our WIP has lint errors.
2016-09-30 13:45:28 +02:00
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
Dzianis Dashkevich 95371afdd8 Add gcpa and gcpc aliases to git plugin (#5271) 2016-08-14 17:58:11 -07:00
Ahmad Awais 5d6c350166 Enhancement: Show/Hide OSX hidden files 💯 (#5275) 2016-08-14 17:55:02 -07:00
naegi 341e83f6f2 Plugin : Sudo - Add support of sudoedit (#5035)
* Add sudoedit support

* change describtion of sudo plugin
2016-08-14 17:45:00 -07:00
$ea 40a9d9cb91 plugins/urltools: add suport for python 3 (#5039)
Python 3!!!!
2016-08-14 17:43:23 -07:00
Robby Russell b96a5877aa #5130 resolving conflict in git plugin for gh 2016-08-14 17:39:27 -07:00
Patrick Stadler f19b6b24d3 add kubectl plugin (#5298) 2016-08-14 17:30:55 -07:00
Aleksey Ivanov 51c10783e1 refresh .rake_tasks when lib/tasks changed (#5111) 2016-08-13 20:47:43 +02:00
Daniel Grove 906a7731af Add tmux attach -d alias (#5285) 2016-08-12 20:50:09 -07:00
Aaron Decker 0181fe4970 add npm aliases (#5290) 2016-08-12 20:49:42 -07:00
Simen Bekkhus ae21102030 (git): Add gpsup alias (#5287) 2016-08-11 02:47:54 +02:00
Shiv Venkatasubrahmanyam c09323098a Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux) (#5262)
* Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux)

* Add a README
2016-08-11 02:44:00 +02:00
Kyle Scully a9428b137f added mix autocompletion support for phoenix (#4967) 2016-08-11 02:28:56 +02:00
Dominic Motuka 4505a438e4 update alias of get a list of packages installed locally (#5276) 2016-08-11 02:14:52 +02:00
Luke Childs a7de0fabd7 nvm plugin improvements (#5265)
* Export $NVM_DIR if it doesn't exist and use it when looking for nvm
* Use $NVM_DIR when looking for nvm for completion
* Use $NVM_DIR when looking for nvm in nvm_prompt_info
2016-08-07 19:36:44 +02:00
Marc Cornellà 7654b16b39 [git plugin] Fix indentation and organise aliases 2016-08-07 18:30:57 +02:00
Cédric Malard f5537241a4 Fix gbda alias to support `color.ui = always` + exclude dev branches (#4304)
* Fix gbda alias to support git config color.ui = always
* Update gbda alias to exclude develop and dev branches
2016-08-01 18:16:54 +02:00
nklmish 508b80c1e1 support for startpage search engine in web-search plugin (#5245) 2016-08-01 18:05:01 +02:00
Julien Dubreuil f4013053d3 Updated _docker-compose to the latest version (from 0.1.0 to 1.5.0). (#5215)
Also fixed formatting of markdown URL in README.
2016-07-19 00:24:12 +02:00
soredake eb244d9ec0 Update emacs plugin. (#5201)
- Updated minimal version from 23 to 24.
- Added new aliases that fix unexpected close with -nw option.
- Removed some old aliases.
- Fixed line that detects open frames.
2016-07-19 00:20:59 +02:00
Paweł Lenart c51823c04e Remove warning lines from phing completion
Remove "Warning:" lines from phing targets list. Warning lines are
returned by phing when a target has no tasks or dependencies.

# Conflicts:
#	plugins/phing/phing.plugin.zsh
2016-07-18 14:17:43 -05:00
Jesse Donat bfbfef9fcf Cleans up phing plugin. 2016-07-15 14:30:09 -05:00
Marc Cornellà dc0a884ea7 Rename getgb plugin to gb 2016-07-04 22:34:41 +02:00
Marc Cornellà cab6359173 Rename gb completion file to more conventional _gb 2016-07-04 22:34:38 +02:00
Marc Cornellà a29f8f7659 Fix formatting of gb plugin completion 2016-07-03 23:20:30 +02:00
Marc Cornellà d0ea3f22b1 Add more information to the README 2016-07-03 23:20:30 +02:00
Henrik Johansson 57a689ffd5 Add README to gb plugin 2016-07-02 10:18:18 +02:00
Henrik Johansson af1ee2b994 Add plugin for Gb completion (http://getgb.io) 2016-07-02 01:04:16 +02:00
Clemens Gruber 7fabc8bca4 bundler plugin: Simplify retrieval of cpu count on OSX (#5180)
Calling awk is not necessary here, sysctl has the -n flag to print the value.

Signed-off-by: Clemens Gruber <clemensgru@gmail.com>
2016-06-21 01:31:13 +02:00
Marc Cornellà c62442f999 Fix gfg function completion definition
Related: #5179
2016-06-21 01:06:21 +02:00
Marc Cornellà 9a61336d33 Fix man-preview completion definition
Related: #5179
2016-06-20 22:19:02 +02:00
hjpotter92 909fcef046 Fix issue with `dash` as the default `/bin/sh` script executing program. (#5177)
* `function` keyword removed
 * Fixup the `if` statement and operators
2016-06-20 21:15:55 +02:00
psprint d012402dad znt: update to v2.2.1 (#5174) 2016-06-18 11:48:21 +02:00
Jordan Gwyn d7c06131a2 emacs plugin tweak to open buffer from stdin (#5126) 2016-06-17 12:12:59 +02:00
Marc Cornellà b1561c662b Update taskwarrior completion to 2.5.1 (#5171) 2016-06-17 11:43:08 +02:00
Marc Cornellà 46c0d9590d Add README for OSX plugin and refactor plugin file 2016-06-16 00:23:09 +02:00
mssalvatore 137a554e48 Open finder to PWD - part 2 (#5165)
* Modifies ofd to use alias to open_command instead of shell function with AppleScript
2016-06-16 00:03:37 +02:00
mssalvatore 623ea23818 Add ofd() to OSX plugin to open finder on current directory (#5164)
* Add ofd() to OSX plugin to open finder on current directory

* Change `pwd` to $PWD in osx.plugin.zsh
  Suggested by mcornella
2016-06-15 23:17:03 +02:00
intsilence 3f2dd80773 add 'mvn clean install -DskipTests --offline' alias to speed up maven compile (#5153)
* add 'mvn clean install -DskipTests --offline' to speed up maven compile

* update maven plugin README
2016-06-15 05:42:48 +02:00
Christian Wolff 514ef60704 Replace _kitchen completion with the version from zsh-users (#5011) 2016-06-14 20:32:10 +02:00
kierandoonan 80cac85419 Fix: Plugin knife: Add relative local path for commands which upload files (#4240)
* Added autocomplete support for local knife file uploads

* Added option to allow for relative path resolution for cookbooks

* Updated _chef_root function to use directory:h
2016-06-08 17:27:51 +02:00
Ben Cole 2d7a451e0e Add list-timers to systemd user commands (#5099)
This is useful for listing "cron like" systemd jobs
2016-06-05 22:43:59 -07:00
Bilal Budhani deb992b8aa Adds ReactNative plugin 📱 (#5018) 2016-06-06 01:09:42 +02:00
Ivan Mironov dc222704df Fix arcanist aliases (#5110)
* Fix arc cover alias

* Fix arc pacth alias
2016-06-01 12:23:20 +02:00
debbbbie e1e549ca50 add plugin react-native (#4606) 2016-05-31 12:41:45 +02:00
wangzengdi 5fa4d9d760 add alias gh=git help 2016-05-31 09:57:36 +08:00
Marc Cornellà 9e8f417dab Merge pull request #4729 from sachin21/update_rake_command_in_rails_plugin
Support bundler
2016-05-30 15:33:55 +02:00
Victor Torres c195189231 Use default branch on recently created Mercurial repository. (#4985)
After `hg init` command, sometimes Mercurial does not create `.hg/branch` file so we'll use 'default' as fallback, which is the master branch in Mercurial repositories.

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-05-29 11:25:17 +02:00
Alex Light 73cca94322 Add zsh completion plugin for rustc (#3159) 2016-05-28 00:38:41 +02:00
Wasif Hasan Baig bdc82114d0 Changd `alias gsta='git stash'` to `alias gsta='git stash save'`. 2016-05-26 10:26:01 -07:00
Mateusz Jaje 1e90f3618f added assembly alias (#5107) 2016-05-23 09:43:15 -07:00
Marc Cornellà 87cbf3fcf1 Fix styling in cakephp3 completion 2016-05-23 12:33:17 +02:00
Draniu 9a0f9d7e8b Better cake3 completion 2016-05-23 12:30:17 +02:00
Alexander Berezovsky 9ad9ac69a6 Change vim command to $EDITOR for consistency (#5063) 2016-05-21 17:52:11 -07:00
jordantwombly 670a470a85 fixed bower completion error from issue #2694 (#5056) 2016-05-21 17:51:48 -07:00
Grant Regimbal f2b1be0dda vagrant snapshot (#5032) 2016-05-21 17:51:30 -07:00
Ivan Mironov c2168d741f Arcanist plugin (#5106)
* Add initial list of aliases

* Add lint and diff aliases

* Remove usage section
2016-05-21 17:47:55 -07:00
Marc Cornellà 970f11d1c4 Merge pull request #5104 from felipec/fc/gitfast
gitfast: update to the latest upstream Git and a couple of fixes
2016-05-21 17:12:04 +02:00
Felipe Contreras 36e29fbc19 completion: zsh: improve main function selection
Sometimes we want to use the function directly (e.g. _git_checkout), for
example when zsh has the option 'complete_aliases', this way, we can do
something like:

  compdef _git gco=git_checkout

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:53:47 -05:00
Felipe Contreras 079fef48df gitfast: fix the prompt colour
We can add colour in Zsh without the need of pcmode.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:53:40 -05:00
Felipe Contreras eec3dc607c gitfast: update to upstream v2.8
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:27:30 -05:00
Robby Russell 841d2b9287 Merge pull request #5053 from psprint/master
znt: update to v2.1.15
2016-05-18 19:20:39 -07:00
Robby Russell 5b9c6c15e2 Merge pull request #5044 from charpeni/jira-rapid-board
JIRA Plugin will open rapidboard
2016-05-18 19:18:45 -07:00
Robby Russell 23ed432d35 Merge pull request #5077 from jgmdev/master
Added fossil plugin.
2016-05-18 19:17:31 -07:00