2016-11-16 09:14:09 -05:00
|
|
|
LOCAL_SBIN_PATH="/usr/local/sbin"
|
2015-12-10 16:17:09 -05:00
|
|
|
PERSONAL_BIN_PATH="$HOME/bin"
|
|
|
|
RBENV_PATH="$HOME/.rbenv/bin"
|
|
|
|
GNU_TOOLS_PATH="/usr/local/opt/coreutils/libexec/gnubin"
|
|
|
|
GNU_TOOLS_MAN_PATH="/usr/local/opt/coreutils/libexec/gnuman"
|
2016-02-13 21:05:10 -05:00
|
|
|
APACHE_MAVEN_PATH="$HOME/bin/apache-maven-3.3.9/bin"
|
2020-09-28 10:29:27 -04:00
|
|
|
GO_HOME_PATH="$HOME/go-workspace/bin"
|
2016-02-13 21:05:10 -05:00
|
|
|
|
|
|
|
if [[ "$OSTYPE" == darwin* ]]; then
|
|
|
|
GO_DIR="/usr/local/opt/go/libexec"
|
|
|
|
else
|
|
|
|
GO_DIR="/usr/local/go/bin"
|
|
|
|
fi
|
2015-12-10 16:17:09 -05:00
|
|
|
|
2016-02-05 19:15:27 -05:00
|
|
|
if [[ "$OSTYPE" == darwin* ]]; then
|
|
|
|
NVM_DIR="/usr/local/opt/nvm"
|
|
|
|
else
|
|
|
|
NVM_DIR="/home/atomaka/.nvm"
|
|
|
|
fi
|
|
|
|
|
2016-02-11 08:43:34 -05:00
|
|
|
# BIN
|
2015-12-10 16:17:09 -05:00
|
|
|
[[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH"
|
|
|
|
[[ -d "$RBENV_PATH" ]] && PATH="$RBENV_PATH:$PATH"
|
|
|
|
[[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH"
|
2016-02-11 08:43:34 -05:00
|
|
|
[[ -d "$APACHE_MAVEN_PATH" ]] && PATH="$APACHE_MAVEN_PATH:$PATH"
|
2016-02-13 21:05:10 -05:00
|
|
|
[[ -d "$GO_DIR" ]] && PATH="$GO_DIR:$PATH"
|
2016-11-16 09:14:09 -05:00
|
|
|
[[ -d "$LOCAL_SBIN_PATH" ]] && PATH="$LOCAL_SBIN_PATH:$PATH"
|
2020-09-28 10:29:27 -04:00
|
|
|
[[ -d "$GO_HOME_PATH" ]] && PATH="$GO_HOME_PATH:$PATH"
|
2016-02-11 08:43:34 -05:00
|
|
|
|
|
|
|
# MAN
|
2015-12-10 16:17:09 -05:00
|
|
|
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
|
2016-02-11 08:43:34 -05:00
|
|
|
|
2017-08-31 00:19:46 -04:00
|
|
|
# EDITOR
|
|
|
|
if [[ -x "$(command -v nvim)" ]]; then
|
|
|
|
export {EDITOR,GIT_EDITOR}=nvim
|
|
|
|
else
|
|
|
|
export {EDITOR,GIT_EDITOR}=vim
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2016-02-11 08:58:59 -05:00
|
|
|
export GOPATH="$HOME/go-workspace/"
|