Commit graph

2816 commits

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