SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export PATH=$HOME/Library/Python/3.7/bin:$PATH
  2.  
  3. export ZSH="/Users/scottgrimes/.oh-my-zsh"
  4.  
  5. ZSH_THEME="robbyrussell"
  6.  
  7. plugins=(git kube-ps1 kubectl helm terraform ansible aws)
  8.  
  9. source $ZSH/oh-my-zsh.sh
  10.  
  11.  
  12. # GENERAL
  13. alias cd..='cd ..'
  14. alias ..='cd ..'
  15. alias ...='cd ../../../'
  16. alias ....='cd ../../../../'
  17. alias .....='cd ../../../../'
  18.  
  19. # KUBERNETES
  20. alias k='kubectl'
  21. alias kgn='k get nodes'
  22. alias kgp='k get pod'
  23. alias kdp='k describe pod'
  24. # add all config files under ~/kubes to kubecontext
  25. export KUBECONFIG="$(ls -dp ~/kubes/* | tr '\n' ':')"
  26. # requires 'brew install kubectx'
  27. alias kc='kubectx'
  28. alias kn='kubens'
  29. PROMPT=$PROMPT'$(kube_ps1) '
  30.  
  31. # TERRAFORM
  32. alias tf='terraform'
  33.  
  34. # AWS
  35. alias ecrlogin='$(aws ecr get-login --no-include-email)'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top