diff .bashrc @ 900:390dccbc8d83

comment out broken aws credentials magics
author Jeff Hammel <k0scist@gmail.com>
date Tue, 13 Sep 2022 07:39:30 -0700
parents 47d50c70ec04
children 5d9c08d2a090
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