2 path=(~/.local/bin ~/.cargo/bin $path[@])
4 if [[ $XDG_SESSION_TYPE == "wayland" ]]; then
5 export QT_QPA_PLATFORM=wayland-egl
8 # make less more friendly for non-text input files, see lesspipe(1)
9 if [ -x /usr/bin/lesspipe ]; then
10 export LESSOPEN="|lesspipe %s"
11 elif [ -x /usr/bin/lesspipe.sh ]; then
12 export LESSOPEN="|lesspipe.sh %s"
15 # colored GCC warnings and errors
16 export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
18 export TMPDIR="/tmp/${USER}"
20 export GIT_PS1_SHOWDIRTYSTATE=true
21 export GIT_PS1_SHOWSTASHSTATE=true
22 export GIT_PS1_SHOWUNTRACKEDFILEDS=true
23 export GIT_PS1_SHOWUPSTREAM="verbose"
24 export GIT_PS1_DESCRIBE_STYLE="branch"
25 export GIT_PS1_SHOWCOLORHINTS="color"
27 eval $(dircolors ~/.dir_colors)
31 export _JAVA_AWT_WM_NONREPARENTING=1