]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/zsh/files/zshenv
Initial zsh configuration
[max/saltfiles.git] / states / zsh / files / zshenv
diff --git a/states/zsh/files/zshenv b/states/zsh/files/zshenv
new file mode 100644 (file)
index 0000000..c325783
--- /dev/null
@@ -0,0 +1,16 @@
+typeset -U path
+path=(~/.local/bin ~/.cargo/bin $path[@])
+
+export QT_QPA_PLATFORM=wayland-egl
+
+# make less more friendly for non-text input files, see lesspipe(1)
+if [ -x /usr/bin/lesspipe ]; then 
+  export LESSOPEN="|lesspipe %s"
+elif [ -x /usr/bin/lesspipe.sh ]; then 
+  export LESSOPEN="|lesspipe.sh %s"
+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 TMPDIR="/tmp/${USER}"