1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 09:50:08 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Anton Stamenov
0cc1266c17 aws_porfiles regex is catching more lines than profiles, thus breaking completion (#7469) 2018-12-31 11:15:56 -08: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
Jorge Luis Vargas Aguilar
684feffc35 aws: add README (#7357) 2018-10-28 13:17:41 +01:00
Frank Wittig
e8aaab56b9 allow . in profile names 2018-05-16 18:01:09 +02:00
Hosh
e8c328cb39 Update AWS completion (#6745) 2018-05-10 20:53:16 +02: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
Alexey V Zapparov
7a63ccabf6 Fix aws plugin RPROMPT pollution 2015-09-04 21:18:32 +02:00
Robby Russell
04c301bb3a Merge pull request #3975 from wernerb/patch-1
Set AWS_PROFILE and use existing RPROMPT
2015-06-14 22:10:18 -07:00
Andrew Purcell
41104f8af8 Fix homebrew directory in aws plugin.
Sometimes the output of ``homebrew --prefix`` and ``homebrew --prefix
awscli`` don't match, and the second is the correct call.
2015-06-10 14:36:54 +02:00
Werner Buck
5770ad51f9 Set AWS_PROFILE and use existing RPROMPT 2015-06-09 16:52:40 +02:00
Superbil
7931d5ce1a
Fix aws.plugins.zsh check rule
Check _aws_zsh_completer_path had exist or not
2014-12-16 00:51:22 +08:00
Matt Walker
87fb118dd2 Changed brew cmd to properly report if awscli is installed via homebrew 2014-09-03 12:01:29 -07:00
Douglas S.D. Hall
f492207329 Amended to source the original aws_zsh_completer.sh rather than
the mangled version installed into $(brew-prefix)/bin if using
homebrew installed awscli on OSX.

This was discussed here - https://github.com/Homebrew/homebrew/issues/30268
2014-08-30 17:20:28 +01:00
Cristian Măgherușan-Stanciu
190fcdffa7 Added a completion plugin for the new aws-cli tool
It also supports quickly switching AWS profiles defined in
~/.aws/config using the asp alias
2013-10-09 17:00:39 +02:00