dotfiles/profile

21 lines
437 B
Bash

export PATH="$PATH:$HOME/.local/bin:$HOME/.cargo/bin"
export EDITOR=vim
export VISUAL="$EDITOR"
export TERMINAL=xfce4-terminal
if which nproc >/dev/null 2>&1; then
export MAKEFLAGS="-j $(( $(nproc) * 3 / 4 ))"
else
export MAKEFLAGS="-j 2"
fi
export PARINIT="rTbgqR B=.,?_A_a Q=_s>|"
export PIPENV_VENV_IN_PROJECT=true
# Automatically start x when logging in on tty1
if [ ! "$DISPLAY" -a "$XDG_VTNR" -eq 1 ]; then
exec startx
fi