X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fzsh%2Ffiles%2Fzshenv;h=df7015570312d93da499b0d950e969719c805f98;hb=HEAD;hp=fd7df7d1f254098bf19d235102865be860029144;hpb=ec16bafc180f13ef630aded210de373e8d40af5d;p=max%2Fsaltfiles.git diff --git a/states/zsh/files/zshenv b/states/zsh/files/zshenv index fd7df7d..df70155 100644 --- a/states/zsh/files/zshenv +++ b/states/zsh/files/zshenv @@ -1,7 +1,10 @@ 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 + export MOZ_ENABLE_WAYLAND=1 +fi # make less more friendly for non-text input files, see lesspipe(1) if [ -x /usr/bin/lesspipe ]; then @@ -12,7 +15,7 @@ fi # colored GCC warnings and errors export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' -export EDITOR="vim" +export EDITOR="nvim" export TMPDIR="/tmp/${USER}" export GIT_PS1_SHOWDIRTYSTATE=true @@ -21,3 +24,13 @@ 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 + +export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock + +export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket