changeset 900:390dccbc8d83

comment out broken aws credentials magics
author Jeff Hammel <k0scist@gmail.com>
date Tue, 13 Sep 2022 07:39:30 -0700
parents 7ba1f770598c
children d01703658029
files .bashrc
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Tue Aug 16 11:54:42 2022 -0700
+++ b/.bashrc	Tue Sep 13 07:39:30 2022 -0700
@@ -641,10 +641,11 @@
 fi
 
 ### AWS credentials
-if [[ -f "${HOME}/.aws/credentials" ]]
-then
-    eval $(awk 'NR != 1 { print "export", toupper($1) "=" $3 }' ~/.aws/credentials)
-fi
+# XXX This only works with a credentials file with a single entry
+# if [[ -f "${HOME}/.aws/credentials" ]]
+# then
+#     eval $(awk 'NR != 1 { print "export", toupper($1) "=" $3 }' ~/.aws/credentials)
+# fi
 
 if type -P xmodmap >> /dev/null && [[ -e "${HOME}/capslock" ]]
 then