Commit Graph

15 Commits (66ae9b0de8ca313fb208be75296af2c90b024740)

Author SHA1 Message Date
David Farrell 00062bfcb6
chore: Use grep -E / grep -F instead of egrep / fgrep (#2164)
Ensures that the -E or -F option, when used, is the first option
* i.e. grep -oE => grep -E -o

Updates _bash-it-grep to invoke grep with just the provided arguments
* This function was (and still is) unused, but decided this new functionality was actually more useful

Introduces _bash-it-fgrep to invoke grep -F

Removes type -P egrep from the _bash-it-*grep functions

For usages that were already going to be modified, use -F if appropriate
* Does not touch grep usages that may have benefited from -F, but were not otherwise considered for this PR

Adds shellcheck header to modified .bash files that didn't already have it
2022-10-13 10:34:57 -07:00
Rick Rezinas 4835f1905e fix for issue #1418 2020-04-27 21:22:23 -07:00
Eduardo Bellido Bellido 3c8dbf3cd4 Allow custom aws config files path
Honor the environment variables:

  AWS_CONFIG_FILE
  AWS_SHARED_CREDENTIALS_FILE

in the aws plugin.

+info:
https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html
2018-10-31 19:18:37 +01:00
Pablo Diaz 12ff176c55 aws session token support 2018-10-30 22:54:46 +01:00
Eduardo Bellido Bellido 089b10b37c Update AWS variable name
AWS_DEFAULT_PROFILE is deprecated, AWS_PROFILE is the correct one now.

+info:
https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html
2018-10-27 23:03:20 +02:00
Pablo Diaz 9d0da715d3 fixed awskeys with all profiles 2017-10-27 22:53:41 +02:00
Eduardo Bellido Bellido d4c1ded1cc Check for AWS credentials file in AWS plugin 2015-06-11 00:26:25 +02:00
Eduardo Bellido Bellido be25f925c7 Added completion to AWS plugin 2015-06-09 23:16:47 +02:00
Eduardo Bellido Bellido 1172973d89 Fixed regex in __awskeys_list function 2015-05-20 20:49:36 +02:00
Eduardo Bellido Bellido 172c6a0aea Renamed remove option to unset 2015-05-13 23:11:04 +02:00
Eduardo Bellido Bellido 98f5be98dc Now, really fixed (and tested) the export option in Mac 2015-05-13 23:09:03 +02:00
Eduardo Bellido Bellido 9d7aa3b882 Added remove option 2015-05-11 00:02:27 +02:00
Eduardo Bellido Bellido ab08ca7d16 Minor changes and updated help messages 2015-05-11 00:02:07 +02:00
Eduardo Bellido Bellido ca52f5ce2f Fixed export option to work on Mac 2015-05-11 00:01:36 +02:00
Eduardo Bellido Bellido 767a7a63ca Added AWS plugin
- awskeys, helper function for credentials profiles
2015-05-09 01:33:30 +02:00