Skip to content

Commit

Permalink
readme update for persisting set profile (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv authored Oct 23, 2023
1 parent 7068657 commit 82db69d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ Ex. `echo 'alias awsd="source _awsd"' >> ~/.zshrc`
awsd
```

## Persist Profile across new shells
To persist the set profile when you open new terminal windows, you can add the following to your bash profile or zshrc.

```bash
export AWS_PROFILE=$(cat ~/.awsd)
```

## Show your AWS Profile in your shell prompt
For better visibility into what your shell is set to it can be helpful to configure your prompt to show the value of the env variable `AWS_PROFILE`.

Expand Down

0 comments on commit 82db69d

Please sign in to comment.