Skip to content

Instantly share code, notes, and snippets.

@ughitsaaron
Last active December 9, 2015 21:58
Show Gist options
  • Select an option

  • Save ughitsaaron/142cd4deba2bf8d755fa to your computer and use it in GitHub Desktop.

Select an option

Save ughitsaaron/142cd4deba2bf8d755fa to your computer and use it in GitHub Desktop.
# #!/bin/bash
. ~/.bashrc
PATH=$PATH:/usr/local/bin:~/bin:~/.nvm
ulimit -n 2046
# # elasticsearch
export ELASTIC_HOST=http://192.168.99.100:9200
# # export REDIS_HOST=tcp://192.168.99.100:6379
# # grep opts
export GREP_OPTIONS='--color=always'
export GREP_COLOR='1;35;40'
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true
export GIT_PS1_SHOWCOLORHINTS=true
# # gets git-prompt shell script for showing active branch
. ~/.git-prompt.sh
# # enable git autocompletion
. ~/.git-complete.bash
# # export PS1='\u:\W\[\e[02m\]$(__git_ps1 " (%s)")\[\e[0m\]\$ '
PROMPT_COMMAND='__git_ps1 "\n\e[0;35m\h\e[m at \e[0;36m\u\e[m in \e[0;33m$PWD\e[m\n" "\\\$ "'
# # solves tab window pwd conflict with default apple bashrc
PROMPT_COMMAND="update_terminal_cwd; $PROMPT_COMMAND"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*t
[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh
# . ~/.bashrc
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment