Skip to content

Instantly share code, notes, and snippets.


Nima Saed NimaSaed

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nimasaed on github.
  • I am nimasaed ( on keybase.
  • I have a public key ASADMOFyzeubH2D7m2IOHMAqInLF-f1LGlIvGL8Qqu909Qo

To claim this, I am signing this object:

NimaSaed / bashrc
Last active Feb 18, 2022
Bash AWS Profile Changer
View bashrc
# Add this function to the end of your ~/.bashrc
function aws_profile() {
local aws_home="$HOME/.aws"
local profiles=(`\
cat ${aws_home}/config | \
grep profile | \
sed 's/\[//g;s/\]//g' | \