Marc Cornellà
9930dd6e49
aws: use function keyword in function definitions
...
Fixes #7886
7 years ago
programmer04
1343ab67ed
aws: check availability of aws profiles ( #7839 )
7 years ago
Marc Cornellà
9598a855fa
aws: check for existence of config file in aws_profiles
...
Fixes #7872
7 years ago
Mohamed El Mouctar Haidara
4585c6662b
aws: really unset AWS*PROFILE variables in asp function ( #7838 )
7 years ago
dorons
d16adb6a9f
aws: fix path resolution of aws completion for Ubuntu ( #7812 )
7 years ago
programmer04
5f9cc016d7
Fix redundant export of RPROMPT in aws plugin
7 years ago
Marc Cornellà
63291f4fcc
Reword and fix formatting
7 years ago
programmer04
53d6a692d1
Fix showing aws prompt for theme fishy (append RPROMPT instead of overwrite)
7 years ago
Marc Cornellà
6d143d42ea
aws: document aws_change_access_key and fix README
7 years ago
Marc Cornellà
5f893dcd20
aws: clean up aws_change_access_key function
7 years ago
Cristian Măgherușan-Stanciu
4f4985fddc
aws: added an alias for changing the AWS access key set on a profile
7 years ago
Logan Lindquist
8cbdd79517
aws: set AWS_EB_PROFILE for the EB CLI ( #7388 )
...
Added AWS_EB_PROFILE environment variable to the AWS Plugin. The EB CLI uses this
variable instead of the primary AWS_PROFILE variable to keep track of what profile
it is using.
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html
7 years ago
David Kane
532a784b80
aws: refactor AWS plugin ( #7615 )
...
* Update the AWS plugin to support disabling RPROMT display:
Use a $SHOW_AWS_PROMPT option.
* Refactoring aws plugin:
Exposing customizable aws_prompt_info function to be used in themes.
* Set aws prompt prefix and suffix to original values and fix README
Co-authored-by: "Vassilis S. Moustakas" <vsmoustakas@gmail.com>
7 years ago
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
7 years ago
Anton Stamenov
0cc1266c17
aws_porfiles regex is catching more lines than profiles, thus breaking completion ( #7469 )
7 years ago
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
7 years ago
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
7 years ago
Jorge Luis Vargas Aguilar
684feffc35
aws: add README ( #7357 )
7 years ago
Frank Wittig
e8aaab56b9
allow . in profile names
8 years ago
Hosh
e8c328cb39
Update AWS completion ( #6745 )
8 years ago
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
8 years ago
Alexey V Zapparov
7a63ccabf6
Fix aws plugin RPROMPT pollution
11 years ago
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.
11 years ago
Werner Buck
5770ad51f9
Set AWS_PROFILE and use existing RPROMPT
11 years ago
Superbil
7931d5ce1a
Fix aws.plugins.zsh check rule
...
Check _aws_zsh_completer_path had exist or not
11 years ago
Matt Walker
87fb118dd2
Changed brew cmd to properly report if awscli is installed via homebrew
12 years ago
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
12 years ago
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
13 years ago