Move more stuff to the profile for Gnome
This commit is contained in:
parent
7bfc26e61e
commit
00bc5ff257
2 changed files with 15 additions and 16 deletions
|
@ -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
|
if [ -n "$(command -v clang)" ]; then
|
||||||
export CC=clang
|
export CC=clang
|
||||||
else
|
else
|
||||||
|
|
16
.zprofile
16
.zprofile
|
@ -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 LANG="en_US.UTF-8"
|
||||||
export LANGUAGE="en_US"
|
export LANGUAGE="en_US"
|
||||||
|
|
Loading…
Reference in a new issue