Skip to content

Instantly share code, notes, and snippets.

Created December 3, 2017 13:27
What would you like to do?
Excerpt of my mostly used commands written in my bash_profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export AWS_PROFILE=internal-user
alias ls='ls -GFh'
alias ll='ls -lah'
alias grep='grep --color=auto'
alias back='cd ${OLDPWD}'
alias dfh='df -h'
alias h="history|grep "
alias k8s_prod="kubectl --server="" --namespace=production"
alias k8s="kubectl --server="localhost:8080""
alias swagdock='docker run -p 9010:8080 swaggerapi/swagger-editor'
# NVM is super slow!
export NVM_DIR="/Users/cgiehl/.nvm"
[ -s "$NVM_DIR/" ] && . "$NVM_DIR/" # This loads nvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment