[bash] Add asdf and setenv
This commit is contained in:
11
bash/.bashrc
11
bash/.bashrc
@ -1,6 +1,10 @@
|
|||||||
|
. $HOME/.asdf/asdf.sh
|
||||||
|
. $HOME/.asdf/completions/asdf.bash
|
||||||
|
|
||||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||||
|
|
||||||
### 15Five Functions
|
### 15Five Functions
|
||||||
|
|
||||||
set-sts-env() {
|
set-sts-env() {
|
||||||
source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-sts-env.sh
|
source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-sts-env.sh
|
||||||
}
|
}
|
||||||
@ -13,6 +17,12 @@ set-pg-env() {
|
|||||||
source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
|
source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set-env() {
|
||||||
|
set -a;eval `chamber export cloud100/fifteen5/base -f dotenv`;set +a
|
||||||
|
set -a;eval `chamber export cloud100/fifteen5/deploy -f dotenv`;set +a
|
||||||
|
set -a;eval `chamber export cloud100/engagement -f dotenv`;set +a
|
||||||
|
}
|
||||||
|
|
||||||
prod() {
|
prod() {
|
||||||
okta-awscli --okta-profile poweruser --profile 15five-root-poweruser
|
okta-awscli --okta-profile poweruser --profile 15five-root-poweruser
|
||||||
set-sts-env 15five-root-poweruser 15five-production-poweruser
|
set-sts-env 15five-root-poweruser 15five-production-poweruser
|
||||||
@ -37,3 +47,4 @@ set-pg-env() {
|
|||||||
source /home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
|
source /home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user