Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,18 @@ source <(fzf --zsh)
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

# get/set AWS_PROFILE env var
aws-profile () {
if [ $# -gt 0 ]; then
export AWS_PROFILE=$1
fi;
echo $AWS_PROFILE
}

source ~/.cdl-ssm-util/session-zsh-snippet.sh

# print current aws session identity
alias aws-whoami="aws --output yaml sts get-caller-identity"

# agent-sync
export PATH="/Users/pperkins/dotfiles/agents/bin:$PATH"