Cleaned path

This commit is contained in:
Thomas Forgione 2017-10-20 10:24:40 +02:00
parent 5ea554c068
commit 0489a948e2
No known key found for this signature in database
GPG Key ID: C75CD416BD1FFCE1
2 changed files with 23 additions and 21 deletions

View File

@ -1,20 +1,9 @@
# The path
export PATH=$PATH/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/opt/android-ndk:/opt/android-sdk/tools/:/opt/android-sdk/build-tools/24.0.0/:/usr/lib/emscripten:$HOME/.script/check:$HOME/.gem/ruby/2.3.0/bin:$HOME/.scripts:$HOME/.more-scripts/stop/:$HOME/.more-scripts/
# My editor # My editor
export EDITOR="vim" export EDITOR="vim"
# Some config # Parallel conpilation with make
export LD_LIBRARY_PATH=/usr/lib
# export LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1'
export MAKEFLAGS="+j`nproc`" export MAKEFLAGS="+j`nproc`"
# Paths needed for soft
export CLASSPATH="$CLASSPATH:$HOME/.java/packages/*:$HOME/.java/packages/lib/*:/usr/share/java/*:/usr/share/scala/lib/*"
export MATLABPATH=$HOME/.matlab2
export GOPATH="$HOME/.config/go"
export TEXMFHOME="$HOME/.texmf"
# I want clang as default compiler if it exists # I want clang as default compiler if it exists
command -v clang > /dev/null 2>&1 command -v clang > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
@ -29,15 +18,6 @@ fi
# Wine Debug # Wine Debug
export WINEDEBUG=-all export WINEDEBUG=-all
# for go
if [ -d /opt/go/bin ]; then
export GOROOT=/opt/go
export GOPATH=$HOME/srcs/go
export PATH=$PATH:$GOROOT/bin
fi
# for rust # for rust
export RUST_BACKTRACE=1 export RUST_BACKTRACE=1
# gclone
export GCLONE_PATH=~/git

22
zsh/path.zsh Normal file
View File

@ -0,0 +1,22 @@
# The base path
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH
# The scripts path
if [ -d "$HOME/.scripts" ]; then
export PATH=$HOME/.scripts:$PATH
fi
# Rust path
if [ -d $HOME/.cargo ]; then
export PATH=$HOME/.cargo/bin:$PATH
fi
# LD_LIBRARY_PATH: I don't know why there is this line here but I'm too scared
# to delete it
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
# Texmf home: hidden directory
export TEXMFHOME=$HOME/.texmf
# My git directory: where I want to clone all my repos
export GCLONE_PATH=~/git