Last active
July 30, 2020 03:37
-
-
Save kyanny/e8778b6b6f1db0a5ae0d6ac16ad1b582 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws-logout() { | |
for env in $(awk 'BEGIN{for(v in ENVIRON) print v}' | grep ^AWS) | |
do | |
echo "unset $env" | |
unset $env | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment