fix paths, add path for postgres
This commit is contained in:
parent
f169fe2596
commit
66d3dff6f3
@ -10,5 +10,8 @@ pathAppend() {
|
||||
# Remove duplicate entries from PATH:
|
||||
PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')
|
||||
|
||||
pathAppend "$HOME/.yadr/bin"
|
||||
pathAppend "$HOME/.yadr/bin/yadr"
|
||||
pathAppend "$HOME/.rvm/bin:$HOME/.local/bin:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin"
|
||||
if [[ `uname` == "Darwin" ]]; then
|
||||
pathAppend "/usr/local/opt/libpq/bin"
|
||||
fi
|
||||
|
@ -13,11 +13,6 @@ export PATH=$PATH:$HOME/Android/sdk/platform-tools:$HOME/Android/sdk/tools/
|
||||
#### Qiniu
|
||||
QINIU_ACCESS_KEY=l6Rf0LgQDgpSwjdXr_MgsCynhsofRM7W2dwvIOXO
|
||||
|
||||
#### nvm
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm use $NVM_VERSION
|
||||
export PATH="$PATH:$HOME/.nvm/versions/node/$NVM_VERSION/bin"
|
||||
|
||||
#### Java
|
||||
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user