Skip to content

Instantly share code, notes, and snippets.

@giehlman
Created December 3, 2017 13:27
Show Gist options
  • Save giehlman/9ae0a0dca7ce06c92412962ab19f9f5d to your computer and use it in GitHub Desktop.
Save giehlman/9ae0a0dca7ce06c92412962ab19f9f5d to your computer and use it in GitHub Desktop.
Excerpt of my mostly used commands written in my bash_profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
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="123.123.123.123:8080" --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.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment