-export CLICOLOR=1
-export GREP_COLOR="1;36"
-export PYTHON_ENV_PATH=$HOME/env
-export PIP_REQUIRE_VIRTUALENV=true
-export POSTGRES_PATH=/Applications/Postgres.app/Contents/Versions/latest/bin
-export PATH=/usr/local/bin:~/bin:$PATH:$POSTGRES_PATH
-export EDITOR=/usr/bin/vi
-export TERM=xterm-256color
-color_prompt=yes
-
-export SCRUM_DIR=~/Documents/scrum/
+##################################################
+#
+#
+#
+##################################################
-export PATH=/usr/local/opt/gnu-sed/libexec/gnubin:$PATH
-export PATH=/usr/local/opt/make/libexec/gnubin:$PATH
##################################################
#
#
##################################################
+export CLICOLOR=1
+export GREP_COLOR="1;36"
+export TERM=xterm-256color
+export THEME=gruvbox
+color_prompt=yes
+
YELLOW=$(tput setaf 136);
ORANGE=$(tput setaf 166);
GREEN=$(tput setaf 64);
BASE2=$(tput setaf 254);
RESET=$(tput sgr0);
+GRUV_YELLOW=$(tput setaf 172);
+GRUV_ORANGE=$(tput setaf 166);
+GRUV_GREEN=$(tput setaf 106);
+GRUV_BLUE=$(tput setaf 66);
+
function prompt_char {
if ! git rev-parse --git-dir > /dev/null 2>&1; then
echo '𝝺'
local GIT_BRANCH=$(git branch 2>/dev/null| sed -n '/^\*/s/^\* //p')
echo "($GIT_BRANCH) $"
}
-export PS1='\[$ORANGE\]\u\[$RESET\] @ \[$YELLOW\]\h\[$RESET\] in \[$GREEN\]\w\[$RESET\]\n$(prompt_char) '
+
+if [[ $THEME == "solarized" ]]; then
+ YELLOW=$(tput setaf 136);
+ ORANGE=$(tput setaf 166);
+ GREEN=$(tput setaf 64);
+ BLUE=$(tput setaf 33);
+
+ export PS1='\[$ORANGE\]\u\[$RESET\] @ \[$YELLOW\]\h\[$RESET\] in \[$GREEN\]\w\[$RESET\]\n$(prompt_char) '
+elif [[ $THEME == "gruvbox" ]]; then
+ YELLOW=$(tput setaf 172);
+ ORANGE=$(tput setaf 166);
+ GREEN=$(tput setaf 106);
+ BLUE=$(tput setaf 66);
+
+ export PS1='\[$ORANGE\]\u\[$RESET\] @ \[$YELLOW\]\h\[$RESET\] in \[$GREEN\]\w\[$RESET\]\n$(prompt_char) '
+fi
##################################################
#
#
##################################################
+export PYTHON_ENV_PATH=$HOME/env
+export PIP_REQUIRE_VIRTUALENV=true
+
function activate () {
command source $PYTHON_ENV_PATH/$1/bin/activate
}
}
complete -F _envdir activate
-# Setting PATH for Python 3.6
-PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
-export PATH
-
-##################################################
-#
-# Ruby Stuffs
-#
-##################################################
-
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
-
-##################################################
-#
-# Scala/Play Stuffs
-#
-##################################################
-
-export SCALA_HOME=/usr/local/bin/scala
-export PLAY_PATH="/usr/local/play"
-export PATH=$PATH:$PLAY_PATH
-
-export SBT_CREDENTIALS=$HOME/.ivy2/.credentials
-
##################################################
#
# Go Stuffs
##################################################
export GOPATH=$HOME/Projects/go
+export PATH=/opt/go/bin:$PATH
export PATH=$PATH:$(go env GOPATH)/bin
##################################################
#
##################################################
-export PATH="$HOME/.cargo/bin:$PATH"
##################################################
#
##################################################
#
-# Aliases
+# Aliases, etc.
#
##################################################
alias grep="grep --color=auto"
-[[ -s "$HOME/.profile" ]] && source "$HOME/.profile"
-
-export BASH_SILENCE_DEPRECATION_WARNING=1
+export EDITOR=/usr/bin/vi
+export PATH=~/bin:/opt/bin:~/bin/app-images:$PATH
+. "$HOME/.cargo/env"