Commit graph

4895 commits

Author SHA1 Message Date
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
Rehan Mahmood b9670d0409 template: change plugins definition to single line (#7498) 2019-01-20 20:31:23 +01:00
neeasade 3c16466a14 git: quote branch name in ggpull and ggpush (#7472) 2019-01-20 20:19:07 +01:00
Marc Cornellà 6db298c57a
misc: remove please alias to sudo
Fixes #7527
2019-01-20 17:20:26 +01: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
Jackson Delahunt 026e4e499e installer: make TEST_CURRENT_SHELL use basename (#7514)
Fixes #7492
2019-01-15 19:01:34 +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
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
Aurélien Bourdon e0ee79f2bc Remove duplicate space on the maran theme (#7454) 2018-12-31 11:12:55 -08:00
Patrick Artounian 990104730c Update docker plugin from upstream docker/cli (#7470) 2018-12-31 11:12:34 -08: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
Marc Cornellà 8f777f30bb
add git completion requirements notice 2018-10-28 13:37:55 +01:00
Jorge Luis Vargas Aguilar 70246da9cb minikube: add README (#7359) 2018-10-28 13:24:17 +01:00
Marc Cornellà 5ca3efa17f
kops: add README (#7358) 2018-10-28 13:22:53 +01:00
Marc Cornellà a58dc32323
delete duplicate documentation 2018-10-28 13:22:26 +01:00