Move more stuff to the profile for Gnome

This commit is contained in:
Leon Grünewald 2021-09-05 20:50:18 +02:00
parent 7bfc26e61e
commit 00bc5ff257
2 changed files with 15 additions and 16 deletions

View file

@ -1,18 +1,3 @@
export UID=$(id -u)
export GID=$(id -g)
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
export EDITOR=vim
if [ -n "$(command -v composer)" ]; then
export PATH=$PATH:$(composer global config bin-dir --absolute -q)
fi
if [ -n "$(command -v rustc)" ]; then
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library
fi
if [ -n "$(command -v clang)" ]; then
export CC=clang
else

View file

@ -1,4 +1,18 @@
export PATH="/usr/local/bin:$HOME/.local/bin:$HOME/.config/composer/vendor/bin:$HOME/.cargo/bin:$PATH"
export UID=$(id -u)
export GID=$(id -g)
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
export EDITOR=vim
export PATH="/usr/local/bin:$HOME/.local/bin:$PATH"
if [ -n "$(command -v composer)" ]; then
export PATH=$PATH:$(composer global config bin-dir --absolute -q)
fi
if [ -n "$(command -v rustc)" ]; then
export PATH="$HOME/.cargo/bin:$PATH"
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library
fi
export LANG="en_US.UTF-8"
export LANGUAGE="en_US"