Commit Graph

2478 Commits

Author SHA1 Message Date
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
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
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
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
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
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