2016-08-22 12:04:24 +02:00
|
|
|
# The path
|
2016-11-22 19:31:08 +01:00
|
|
|
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/
|
2016-08-22 12:04:24 +02:00
|
|
|
|
|
|
|
# My editor
|
2016-10-15 11:38:51 +02:00
|
|
|
export EDITOR="vim"
|
2016-08-22 12:04:24 +02:00
|
|
|
|
|
|
|
# Some config
|
|
|
|
export LD_LIBRARY_PATH=/usr/lib
|
2016-11-22 09:19:13 +01:00
|
|
|
# export LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1'
|
2016-08-31 10:02:52 +02:00
|
|
|
export MAKEFLAGS="+j`nproc`"
|
2016-08-22 12:04:24 +02:00
|
|
|
|
|
|
|
# Paths needed for soft
|
2016-11-22 19:31:08 +01:00
|
|
|
export CLASSPATH="$CLASSPATH:$HOME/.java/packages/*:$HOME/.java/packages/lib/*:/usr/share/java/*:/usr/share/scala/lib/*"
|
2016-08-22 12:04:24 +02:00
|
|
|
export MATLABPATH=$HOME/.matlab2
|
|
|
|
export GOPATH="$HOME/.config/go"
|
2017-01-23 14:59:09 +01:00
|
|
|
export TEXMFHOME="$HOME/.texmf"
|
2016-08-22 12:04:24 +02:00
|
|
|
|
2016-12-03 10:48:49 +01:00
|
|
|
# I want clang as default compiler if it exists
|
|
|
|
command -v clang > /dev/null 2>&1
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
export CC="clang"
|
|
|
|
fi
|
|
|
|
|
|
|
|
command -v clang++ > /dev/null 2>&1
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
export CXX="clang++"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Wine Debug
|
2016-08-22 12:04:24 +02:00
|
|
|
export WINEDEBUG=-all
|
2016-12-03 11:43:49 +01:00
|
|
|
|
|
|
|
# for go
|
|
|
|
if [ -d /opt/go/bin ]; then
|
|
|
|
export GOROOT=/opt/go
|
|
|
|
export GOPATH=$HOME/srcs/go
|
|
|
|
export PATH=$PATH:$GOROOT/bin
|
|
|
|
fi
|
|
|
|
|
|
|
|
|