فهرست منبع

[bash] Add bashrc file

Colin Powell 3 سال پیش
والد
کامیت
e0d67ffc85
1فایلهای تغییر یافته به همراه24 افزوده شده و 0 حذف شده
  1. 24 0
      bash/.bashrc

+ 24 - 0
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
+}