zsh/.zshenv

39 lines
872 B
Plaintext
Raw Normal View History

#-*- mode: sh; -*-
2019-12-25 21:27:17 -05:00
# Define Zim location
ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Environment variables
2018-03-07 14:55:17 -05:00
export EDITOR="emacsclient -t"
2019-12-25 21:27:17 -05:00
export ALTERNATE_EDITOR=""
2018-03-07 14:55:17 -05:00
export VISUAL="emacsclient -c -n"
2019-12-25 21:27:17 -05:00
export PAGER=less
export TERMINAL=alacritty
export ARDUINO_DIR="/usr/share/arduino"
export ARDMK_DIR="$HOME/Programs/Arduino-Makefile"
export STEAMAPPS="$HOME/.local/share/Steam/steamapps/common"
2019-12-25 21:27:17 -05:00
export QT_STYLE_OVERRIDE=gtk2
export QT_AUTO_SCREEN_SCALE_FACTOR=true
export CALIBRE_USE_SYSTEM_THEME=true
2019-12-25 21:27:17 -05:00
export WINEDLLOVERRIDES=winemenubuilder.exe=d
# Don't allow duplicate values in path
typeset -U path
2022-02-12 23:15:43 -05:00
path=($HOME/.bin $HOME/.local/bin $HOME/.dotfiles/ $path)
2018-10-05 14:27:31 -04:00
# Set temporary files locations
if [[ ! -d "$TMPDIR" ]]
then
export TMPDIR="/tmp/$LOGNAME"
mkdir -p -m 700 "$TMPDIR"
fi
TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]
then
mkdir -p "$TMPPREFIX"
fi