0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
Commit graph

4915 commits

Author SHA1 Message Date
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
Brian Hong
851899e59e theme/gallifrey: set color to red if root (#6203) 2019-01-31 14:57:37 +01: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
Erwan ROUSSEL
ea6ec09b9c cake: add README (#7473) 2019-01-25 12:16:20 +01: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
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
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
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