DBA/zshrc.bak
2022-07-18 13:20:53 +00:00

28 lines
677 B
Bash

export PATH="/usr/local/opt/libpq/bin:$PATH"
alias psql=/opt/homebrew/opt/libpq/bin/psql
export PATH="/opt/homebrew/bin:$PATH"
export ptdir="/Users/joesmith/dbre-build/prod-tools/bin"
export ght=token
function getrep(){
git clone "https:${ght}"@github.com/"${1}".git
}
function buildDb(){
export VAULT_ADDR=https://cci-prod-vault-a.infra.circleci.com
export VAULT_CACERT=/Users/joesmith/vault.pem
aws sso login --profile cci
vault login -method oidc
}
function V(){
export VAULT_ADDR=https://cci-prod-vault-a.infra.circleci.com
export VAULT_CACERT=/Users/joesmith/vault.pem
vault login -method oidc
}
function pt(){
"${ptdir}"/prod-tools
}