Cleaned path
This commit is contained in:
parent
5ea554c068
commit
0489a948e2
|
@ -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
|
||||
export EDITOR="vim"
|
||||
|
||||
# Some config
|
||||
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'
|
||||
# Parallel conpilation with make
|
||||
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
|
||||
command -v clang > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
|
@ -29,15 +18,6 @@ fi
|
|||
# Wine Debug
|
||||
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
|
||||
export RUST_BACKTRACE=1
|
||||
|
||||
# gclone
|
||||
export GCLONE_PATH=~/git
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue