1 export PATH="${HOME}/.local/bin:${HOME}/.cargo/bin:${PATH}"
3 # Make XDG_RUNTIME_DIR, required for some sessions
4 if test -z "${XDG_RUNTIME_DIR}"; then
5 export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
6 if ! test -d "${XDG_RUNTIME_DIR}"; then
7 mkdir "${XDG_RUNTIME_DIR}"
8 chmod 0700 "${XDG_RUNTIME_DIR}"
13 mkdir -p "/tmp/${USER}"
14 chmod 770 "/tmp/${USER}"
16 export QT_QPA_PLATFORM=wayland-egl
18 if [ -f ~/.Xresources ]; then
19 cat ~/.Xresources > ~/.Xdefaults
20 if [ -f ~/.Xresources.$HOSTNAME ]; then
21 cat ~/.Xresources.$HOSTNAME >> ~/.Xdefaults
25 if [ -f ~/.config/termite/config.base ]; then
26 cat ~/.config/termite/config.base ~/.config/termite/config.${HOSTNAME} > \
27 ~/.config/termite/config
31 # make less more friendly for non-text input files, see lesspipe(1)
32 if [ -x /usr/bin/lesspipe ]; then
33 export LESSOPEN="|lesspipe %s"
34 elif [ -x /usr/bin/lesspipe.sh ]; then
35 export LESSOPEN="|lesspipe %s"
38 # colored GCC warnings and errors
39 export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'