Skip to content

Instantly share code, notes, and snippets.

@tuckerconnelly
Last active November 1, 2018 17:08
Show Gist options
  • Save tuckerconnelly/2e69cbd3c6432c815e733f45c5827ad7 to your computer and use it in GitHub Desktop.
Save tuckerconnelly/2e69cbd3c6432c815e733f45c5827ad7 to your computer and use it in GitHub Desktop.
.env.sh for new machines
# source ~/env.sh
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export EDITOR=atom
alias watch='watch '
alias git-deploy='git checkout staging && git pull && git checkout master && git pull && git merge staging -m "Merge branch 'staging'" && git push && git checkout staging'
alias nd="npm run dev"
alias nt="npm run test"
alias ntw="npm run test -- --watch"
alias ns="npm run start"
alias venv="source ./venv/bin/activate"
alias dvenv="deactivate"
alias kc="kubectl"
alias kcgp="kubectl get po"
alias kcpf="kubectl port-forward"
alias set-publist="gcloud config set account [email protected] && export KUBECONFIG=/Users/tuckerconnelly/.kube/config-publist && gcloud container clusters get-credentials staging-june --zone us-west1-a --project publist-services"
alias set-publist-production="gcloud config set account [email protected] && export KUBECONFIG=/Users/tuckerconnelly/.kube/config-publist-production && gcloud container clusters get-credentials production-june --zone us-west1-a --project publist-services"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment