Browse Source

LD_LIBRARY_PATH and PATH

master
heck 5 months ago
parent
commit
f3ea258533
1 changed files with 12 additions and 6 deletions
  1. +12
    -6
      bash_profile.d/00_base.sh

+ 12
- 6
bash_profile.d/00_base.sh View File

@ -3,8 +3,7 @@
export PREFIX=/Users/heck/local/
if [ $(uname) == "Linux" ]; then {
export PREFIX=/home/heck/local
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib/
export LD_LIBRARY_PATH=$PREFIX/lib/:$LD_LIBRARY_PATH
alias l='ls -l --color=always --time-style=+%F%t%T'
alias ll='l -a'
@ -13,8 +12,7 @@ if [ $(uname) == "Linux" ]; then {
} fi
if [ $(uname) == "Darwin" ]; then {
export PREFIX=/Users/heck/local-default
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$PREFIX/lib/
export DYLD_LIBRARY_PATH=$PREFIX/lib/:$DYLD_LIBRARY_PATH
alias l='ls -GlT'
alias ll='l -a'
@ -22,10 +20,18 @@ if [ $(uname) == "Darwin" ]; then {
alias ltr='l -art'
} fi
export PATH=$PREFIX/bin:/opt/local/bin:/opt/local/sbin:$PATH
## PATH
#macports
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
#cmake
export PATH="/Applications/CMake.app/Contents/bin":$PATH
#prefix
export PATH=$PREFIX/bin:$PATH
#rust
export PATH="$HOME/.cargo/bin:$PATH"
export LANG=en_US.UTF-8
export LANG=en_US.UTF-8
export TERM=xterm
export EDITOR=vim
export LESS='-RS -i -X'


Loading…
Cancel
Save