From e0d67ffc85f6ce4ce144cd8336167c5df125302f Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 1 Dec 2021 22:23:08 -0500 Subject: [PATCH] [bash] Add bashrc file --- bash/.bashrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bash/.bashrc diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..f5e6b98 --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,24 @@ +[ -f ~/.fzf.bash ] && source ~/.fzf.bash + +### 15Five Functions +set-sts-env() { + source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-sts-env.sh +} + +set-deploy-env() { + source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-deploy-env.sh +} + +set-pg-env() { + source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh +} + +prod() { + okta-awscli --okta-profile poweruser --profile 15five-root-poweruser + set-sts-env 15five-root-poweruser 15five-production-poweruser + aws eks update-kubeconfig --name cloud100 +} + +shuttle() { + sshuttle -r bastion.cloud100.15five.com 10.100.0.0/16 +}