Created
          October 23, 2017 05:08 
        
      - 
      
 - 
        
Save MattHealy/b81914e285401a9a6cfeaf7bd5e0d336 to your computer and use it in GitHub Desktop.  
    Add to .bash_profile for AWS profile switching
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | switch() { | |
| export AWS_DEFAULT_PROFILE=$1 | |
| PS1="\h:\W \u\$ ($1)$ " | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment