Commit graph

3050 commits

Author SHA1 Message Date
Cristian Măgherușan-Stanciu @magheru_san
729c2f796d otp: added a plugin for oathtool one-time passwords (#3862) 2019-03-23 22:08:35 +01:00
Marc Cornellà
1a2d930bca
aws: refactor completion sourcing logic (#7364)
* Clean up Homebrew detection and add comments. Also changed some if flags.
* Detect aws cli completion file from RPM
2019-03-23 19:52:31 +01:00
Erik
f03aa42cbb react-native: add iPad and Apple TV simulator aliases (#7603) 2019-03-23 17:49:15 +01:00
Peter Theill
9975b16297 web-search: add Givero (supports good causes) as search engine (#7581)
Adds "givero" as a keyword for searching Givero, a relative new search engine donating revenue to good causes around the world.
2019-03-23 17:03:45 +01:00
Zixu Wang
6fe4ac024a web-search: update alias for stackoverflow (#7660)
Changed from `stack` because it conflicts with Haskell Tool Stack

Fixes #7659
2019-03-23 16:57:46 +01:00
Kevin Ottens
2b68600d50 suse: remove sudo from some zypper aliases (#7678)
Closes #5564
2019-03-22 20:32:29 +01:00
Tieme van Veen
9509fd6a91 Add git reset to origin alias to git plugin (#7630) 2019-03-10 09:38:06 -07:00
Ulrich Schreiner
275e5b1349 allow kubectl commands against all namespaces (#7637)
* allow kubectl commands against all namespaces

* enhance the readme too
2019-03-10 09:36:51 -07:00
Rahil Wazir
e3e0dd599e fix typo (#7643)
Extra t in `wp theme updatet`
2019-03-10 09:36:21 -07:00
Marc Cornellà
52afbf77f6 per-directory-history: update to latest version (0e090e8) 2019-03-03 20:32:59 +01:00
Marc Cornellà
f99b58a37c
fancy-ctrl-z: fix "hurt sme" typo (#7613) 2019-02-25 17:29:02 +01:00
Marc Cornellà
8837782b5d
fixed aplay conflict (#7617) 2019-02-25 14:40:07 +01:00
akinnane
25d0a10cda Revert "Fix emacs client terminal" (#7597)
Reverts robbyrussell/oh-my-zsh#5714
2019-02-25 14:37:41 +01:00
Deepankumar
243c46b7cd fixed aplay conflict 2019-02-23 09:00:05 +01:00
Thomas Hutterer
ca1123a044
Fix "hurt sme" typo
Just found this typo while browsing through the `plugins` folder ... and it "hurt sme" :hurtrealbad:
2019-02-20 16:59:57 +01:00
Muhannad Fakhouri
dfd1b4f8df adb: improve adb -s completion to show helpful info (#7532)
Currently it shows for example the following:

  DEVICE_ID  -- transport_id:2

which doesn't really ease device selection. I've adapted the awk script to print
device name with it's model name, see the example below:

  DEVICE_ID  -- Pixel_3(blueline)
2019-02-17 23:10:17 +01:00
Marc Cornellà
0e647904ff mvn: update documentation 2019-02-17 20:57:56 +01:00
Marc Cornellà
f4b2e460c7 mvn: fix and cleanup dynamic profiles logic 2019-02-17 20:57:56 +01:00
kubamarchwicki
fff756069f mvn: add dynamic profile support to mvn completion
* Maven profiles for current pom.xml file
* Maven profiles for pom hierarchy
* Ommiting comments in profiles
2019-02-17 20:36:44 +01:00
Marc Cornellà
d0a0421e10 mvn: sort aliases and improve comments and README 2019-02-17 20:35:31 +01:00
Marc Cornellà
006b882098 mvn: clean up mvn-color function 2019-02-17 20:35:30 +01:00
Marc Cornellà
c636e0933a mvn: avoid mvn-or-mvnw function calling itself when mvn is aliased to it 2019-02-17 20:35:30 +01:00
Marc Cornellà
b767976586 mvn: use echoti instead of tput
Avoids forking to tput and some systems don't have tput
2019-02-17 20:35:30 +01:00
Marc Cornellà
5b569149f3 mvn: fix formatting 2019-02-17 20:35:30 +01:00
Bryan Banz
9afaa0c406 mvn: add integration-test options to mvn autocomplete 2019-02-17 20:35:15 +01:00
Bryan Banz
0a5e69b87e mvn: add alias to run maven from a project's subdirectory 2019-02-17 20:34:59 +01:00
Bryan Banz
283dcab64f mvn: colorize [DEBUG] statements in mvn-color 2019-02-17 20:34:34 +01:00
Laurent Vaills
7ebd80fc7d mvn: add mvncvst alias 2019-02-17 20:34:19 +01:00
sparsick
0dbe7ecedc mvn: add alias to 'mvn clean deploy' 2019-02-17 20:34:10 +01:00
Alexey Merezhin
4d4a2fac58 mvn: add mvncp alias to 'mvn clean package' 2019-02-17 20:34:04 +01:00
Wajdi Al-Hawari
35539fd6e4 mvn: add initialize support in mvn completion 2019-02-17 20:33:52 +01:00
Neil Green
e056aee794 mvn: enable completion for mvnw 2019-02-17 20:33:34 +01:00
nslqqq
df002539f8 mvn: enable completion for maven colorizer 2019-02-17 20:33:12 +01:00
Robby Russell
965a27aa69
Merge pull request #7475 from iamantu93/master
Added stackoverflow to web-search plugin
2019-02-13 11:42:10 -08:00
Robby Russell
e91478eb26
Merge pull request #7499 from ykocaman/master
Changing namespace and restarting pods with kubectl
2019-02-13 11:39:40 -08:00
Robby Russell
f7fa3df160
Merge pull request #7541 from jessefarinacci/master
add brew install path to search
2019-02-13 11:38:35 -08:00
Robby Russell
7af85aae43
Merge pull request #7567 from genevera/PLUGIN-update-shpotify_7567
Plugin: Updates spotify plugin to current master (as of 2019-01-31)
2019-02-13 11:37:11 -08:00
Robby Russell
ca978897a6
Merge pull request #7540 from Z-Shang/master
Added Plugin for Roswell (LISP)
2019-02-13 11:36:44 -08:00
Robby Russell
bc14a2c578
Merge pull request #7194 from luizguilhermefr/master
[Laravel] Add aliases and README
2019-02-13 11:28:26 -08:00
Robby Russell
e8318e4abe
Merge pull request #4627 from strackr/timer_plugin
Adding Timer plugin
2019-02-13 11:24:49 -08:00
Robby Russell
6cec86203a
Merge pull request #5714 from dluksza/master
Fix emacs client terminal
2019-02-13 11:21:45 -08:00
Robby Russell
7d6f754b68
Merge pull request #7535 from pahakalle/master
Ads brew cask update to brew plugin
2019-02-12 11:34:22 -08:00
eric-christian
86ea319536 asdf: fix homebrew installation path (#7582)
* The check for the asdf installation directory is more precise:

    The existence of the directory `$HOME/.asdf` does not mean that it is the installation
    directory of `asdf`. It will also be created after installing at least one asdf plugin.

* Completions, while installed with homebrew, are now expected on an alternative location.
2019-02-08 15:14:09 +01:00
Marc Cornellà
052493b1ba z: refresh $RANDOM's value outside subshell
This change references `$RANDOM` outside the subshell to refresh it for the
next subshell invocation. Otherwise, subsequent runs of the function get the
same value and, if run simultaneously, they may clobber each others' temp .z
files.

This is due to how zsh distributes RANDOM values when running inside a
subshell:

  subshells that reference RANDOM will result in identical pseudo-random
  values unless the value of RANDOM is referenced or seeded in the parent
  shell in between subshell invocations

See: http://zsh.sourceforge.net/Doc/Release/Parameters.html#index-RANDOM
2019-02-06 11:57:28 +01:00
genevera
e634730e35
update spotify to newest version 2019-02-05 05:21:37 -05:00
Marc Cornellà
83ce8d05df
transfer: add newline after showing the link
Fixes #7562
2019-01-30 16:35:16 +01:00
Bartlomiej Tartanus
932d611c90 git: properly indent ggfl function (#7556)
Fixes (probably MacOS) issue:
> ggfl
zsh: command not found: ggfl
2019-01-30 16:22:14 +01:00
Gianluca Recchia
308b046875
Use stash 'push' or 'save' depending on Git version
A utility function now parses the output of git --version and set the
alias for git stash to 'git stash push' iff the current version of Git
is greater than 2.13; it falls back to 'git stash save' otherwise.
2019-01-29 04:11:02 +01:00
Erwan ROUSSEL
ea6ec09b9c cake: add README (#7473) 2019-01-25 12:16:20 +01:00
Jesse Farinacci
12c516822c
add brew install path to search
recent `brew install jenv` installs to `/usr/local/bin/jenv`, auto-discover it for recent brew installs to avoid secondary, slower search
2019-01-22 10:09:07 -05:00
Marc Cornellà
c494869632
ssh-agent: check for loaded id filenames first (#7521)
This change makes the plugin check if an identity is loaded by looking
first at the key filename reported by `ssh-add -l`. This fixes the use
case where ssh-keygen is not able to output the fingerprint of a key,
such as the one reported on #7516.

Now, for an identity to be passed onto ssh-add, it has to fail the
match for a loaded identity, both filename and signature.
2019-01-21 20:31:30 +01:00
Z.Shang
bf4937270a Merge branch 'master' of https://github.com/Z-Shang/oh-my-zsh 2019-01-22 04:50:40 +11:00
Z.Shang
fcf1fe72c0 init ros plugin 2019-01-22 04:49:21 +11:00
neeasade
3c16466a14 git: quote branch name in ggpull and ggpush (#7472) 2019-01-20 20:19:07 +01:00
pahakalle
7dab4f07e6 Added brew cask update 2019-01-20 04:24:52 +02:00
Marc Cornellà
9d1dd24e35
ssh-agent: add default keys if no zstyle identities were set (#7520) 2019-01-19 18:00:04 +01:00
Ing. Jan Kaláb
586ca16902 extract: add AAR Android archive support (#7511) 2019-01-15 19:03:07 +01:00
Andreas
9329efd252 ssh-agent: autoload identities in one go (#7507)
With this PR the ssh-agent plugin loads all identities which are not yet
loaded in a single call to ssh-add. If a passphrase is shared between
loaded identities it only needs to be entered once.

Fixes #7506
2019-01-14 16:42:14 +01:00
François Scala
2a60385659 ssh-agent: use key signatures to check loaded ids (#7504)
Use fingerprint of ssh key instead of file name to control if the key is already loaded.

Also check for .ssh folder presence (#5128)
2019-01-14 16:38:45 +01:00
Marc Cornellà
fabee55948
ssh-agent: autoload identities not already loaded (#7174)
With this PR the ssh-agent plugin checks the `ssh-add -l` output for the
identities added, and adds all those specified by the user that haven't been
added yet.

We also decouple the logic of starting ssh-agent from the logic of adding
identities, meaning that even if ssh-agent has been started by some other means
(like launchd) we can still ssh-add the user's identities.

Fixes #3019
Fixes #6979
2019-01-09 21:19:52 +01:00
Yusuf Kocaman
d8c71bbce1
added details about kcn and kres 2019-01-07 17:35:39 +03:00
Yusuf Kocaman
2596aef866
added change namespace and rolling restart functions for kubectl 2019-01-07 17:24:44 +03:00
Robby Russell
a29950146b
Merge pull request #7386 from deepan10/features/ansible-plugin
ansible plugin added
2018-12-31 11:18:24 -08:00
Robby Russell
8961fda153
Add keychain plugin (#7385)
This plugin integrates the Keychain tool[1] in to the project.

[1] [keychain](https://www.funtoo.org/Keychain)
2018-12-31 11:17:29 -08:00
Anton Stamenov
0cc1266c17 aws_porfiles regex is catching more lines than profiles, thus breaking completion (#7469) 2018-12-31 11:15:56 -08:00
Alexander Huynh
3c3766fdf5 Provide even spacing between marks (#7456)
Before, when typing the `marks` command, longer mark keys would cause
the tabs to spill over to the next tab stop, like so:

    rc      -> /home/ahlex/.rc
    repos   -> /home/ahlex/repos
    a-longer-string         -> /tmp

Implement better key display by running through all of the marks twice,
once to get the longest key length, and the second time to format
everything according to that length:

                 rc -> /home/ahlex/.rc
              repos -> /home/ahlex/repos
    a-longer-string -> /tmp
2018-12-31 11:15:14 -08:00
Ben Davies
d0c06d9ec8 added svcat plugin (#7452)
Including a Kubernetes Service Catalog plugin
2018-12-31 11:14:22 -08:00
Andrew Imeson
64976138b6 Add new vagrant commands (#7455)
* vagrant: Add `cloud` subcommand to completion

* vagrant: Add `port` subcommand to completion

* vagrant: Add `validate` subcommand to completion
2018-12-31 11:13:31 -08:00
Patrick Artounian
990104730c Update docker plugin from upstream docker/cli (#7470) 2018-12-31 11:12:34 -08:00
Antu Acharjee
722af459fd Added stackoverflow in /plugins/web-search/-web-search 2018-12-20 10:41:33 +06:00
Antu Acharjee
a244d47131 Added stackoverflow in /plugins/web-search/-web-search 2018-12-20 10:25:36 +06:00
Frederick Zhang
cf07fe2c6f -r is not available for bsd sed 2018-11-28 14:50:45 +11:00
Igor Kapkov
2614b7ecdf osx: fix rmdsstore function definition (#7443) 2018-11-27 22:58:36 +01:00
Sagar Patil
0a59baf4c5 debian: add README (#7438) 2018-11-27 22:57:07 +01:00
Marc Cornellà
e780209c33
tmux: use $terminfo to avoid echoti errors
See https://github.com/robbyrussell/oh-my-zsh/issues/7407#issuecomment-441665143
2018-11-26 19:57:52 +01:00
Ricardo Seriani
e8aba1bf59 golang: support "go help environment" in autocompletion (#7404)
Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
2018-11-16 22:53:29 +01:00
Marc Cornellà
ad69c7a82f fabric: rename completion back to _fab
Fixes #7405
2018-11-16 18:55:07 +00:00
Marc Cornellà
b1424e2893
tmux: use echoti instead of tput for FreeBSD compatibility
Fixes #7407

FreeBSD's tput needs termcap codes instead of terminfo capnames, so using `tput colors`
has the wrong effect. See #7407
2018-11-16 19:40:06 +01:00
Marc Cornellà
3d8f2bda59
Revert "transfer: add deprecation notice (#7372)" (#7402)
This reverts commit 05b617066b.
2018-11-13 10:54:33 +01:00
Deepankumar
209f1aa8d6 ansible plugin added 2018-11-03 17:34:04 +05:30
Arvindraj
05b617066b transfer: add deprecation notice (#7372)
Fixes #7371

Signed-off-by: Arvindraj <arvindultimate7352@gmail.com>
Co-authored-by: Stephen Ward <stephen@whilenotzero.com>
2018-11-02 17:40:13 +01:00
Joseph Benden
95a3b27680 Add keychain plugin
This plugin integrates the Keychain tool[1] in to the project.

[1] [keychain](https://www.funtoo.org/Keychain)
2018-11-01 15:07:58 -07:00
Erwan ROUSSEL
fa9d93008b fabric: add README (#7378) 2018-11-01 16:40:31 +01:00
Erwan ROUSSEL
545446a3db cpanm: add README (#7377) 2018-11-01 15:42:18 +01:00
Erwan ROUSSEL
5c91cfcb06 capistrano: add README (#7376) 2018-11-01 15:29:05 +01:00
Erwan ROUSSEL
78935f7cf7 ant: add README (#7375) 2018-11-01 15:17:25 +01:00
Erwan ROUSSEL
30125e10a6 bwana: add README (#7369) 2018-10-30 15:55:35 +01:00
Akash Krishnan
e83a4c8184 cabal: add README (#7367) 2018-10-29 22:11:02 +01:00
Erwan ROUSSEL
dc3a605ec1 Add symfony2 aliases (#7338)
* Documentation for Npm plugin added

* Fix style and add alias descriptions

* Add Generate Command alias

* Add Create Database alias

* Add Generate Controller alias
2018-10-28 11:28:15 -07:00
Michy Amrane
fa2dc41c23 [yarn] more aliases ^^ (#7310)
* more aliases ^^
2018-10-28 11:27:34 -07:00
Mike Truso
2d74c1bf2b grails readme (#7365) 2018-10-28 11:26:08 -07:00
Jorge Vargas
543044efe3 aws: use AWS_CONFIG_FILE to complete profiles
Stop exporting AWS_HOME and use the standard AWS_CONFIG_FILE environment
variable, with a fallback to ~/.aws/config (default location) if not
defined.

Close #7356
2018-10-28 16:01:28 +01:00
Vargas, Jorge L
e4946ef9f9 aws: change AWS_DEFAULT_PROFILE to AWS_PROFILE
The environment variable name used to be AWS_DEFAULT_PROFILE but the
CLI documentation now only mentions AWS_PROFILE.

https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html

It seems like the CLI was the only tool using AWS_DEFAULT_PROFILE, and
all the AWS SDKs used AWS_PROFILE, so they standardized on it.

https://onetechnical.wordpress.com/2016/10/07/the-curious-case-of-aws_default_profile/

Note: still left AWS_DEFAULT_PROFILE on the method to set the profile to
maintain backwards compatibility.

Close #7354
2018-10-28 16:01:09 +01:00
Marc Cornellà
f66595ff9e
stack: add README (#7363) 2018-10-28 13:55:01 +01:00
Marc Cornellà
99b94bbeac
grails: add README (#7362) 2018-10-28 13:51:45 +01:00
Marc Cornellà
c87eea8bdb
add link 2018-10-28 13:51:26 +01:00
Marc Cornellà
4e59ba755c
move path section after plugin-enabling section 2018-10-28 13:50:34 +01:00
Marco Zühlke
f1250cfbce git-hubflow: add README (#7361) 2018-10-28 13:46:08 +01:00
Marc Cornellà
9db3c94553
git-flow-avh: add README (#7360) 2018-10-28 13:39:50 +01:00
Marc Cornellà
b6f629dc1c
delete not applicable comments 2018-10-28 13:39:26 +01:00