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