X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fzsh%2Ffiles%2Fzshenv;h=dd69c652b2be0bc1e5ce8f9782411ed16fc51932;hb=cc380a1eeb2fd611cfb96574b44dd00e2e168b92;hp=c3257835870d284ecc34466afd19fb83a0e601a1;hpb=dd0b905788ae2041f7eb8d6c18220e59d951c5f7;p=max%2Fsaltfiles.git diff --git a/states/zsh/files/zshenv b/states/zsh/files/zshenv index c325783..dd69c65 100644 --- a/states/zsh/files/zshenv +++ b/states/zsh/files/zshenv @@ -1,7 +1,9 @@ typeset -U path path=(~/.local/bin ~/.cargo/bin $path[@]) -export QT_QPA_PLATFORM=wayland-egl +if [[ $XDG_SESSION_TYPE == "wayland" ]]; then + export QT_QPA_PLATFORM=wayland-egl +fi # make less more friendly for non-text input files, see lesspipe(1) if [ -x /usr/bin/lesspipe ]; then @@ -14,3 +16,16 @@ fi export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' export EDITOR="vim" export TMPDIR="/tmp/${USER}" + +export GIT_PS1_SHOWDIRTYSTATE=true +export GIT_PS1_SHOWSTASHSTATE=true +export GIT_PS1_SHOWUNTRACKEDFILEDS=true +export GIT_PS1_SHOWUPSTREAM="verbose" +export GIT_PS1_DESCRIBE_STYLE="branch" +export GIT_PS1_SHOWCOLORHINTS="color" + +eval $(dircolors ~/.dir_colors) + +export GPG_TTY=$(tty) + +export _JAVA_AWT_WM_NONREPARENTING=1