zshenv (1171B) - raw


      1 # vim: filetype=zsh
      2 
      3 # Local bin to path
      4 [ -d "$HOME/.local/bin" ] && export PATH="$HOME/.local/bin:$PATH"
      5 
      6 # XDG dirs
      7 export XDG_DATA_HOME="$HOME/.local/share"
      8 export XDG_CONFIG_HOME="$HOME/.config"
      9 export XDG_CACHE_HOME="$HOME/.cache"
     10 
     11 # XDG paths
     12 export R_LIBS_USER="$XDG_DATA_HOME/R"
     13 export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
     14 export ATOM_HOME="$XDG_DATA_HOME/atom"
     15 export GOPATH="$XDG_DATA_HOME/go"
     16 export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
     17 export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
     18 export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME/jupyter"
     19 export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
     20 export ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority"
     21 export RXVT_SOCKET="$XDG_RUNTIME_DIR/urxvtd"
     22 export LESSHISTFILE="-"
     23 export XINITRC="$XDG_CONFIG_HOME/xinitrc"
     24 export CARGO_HOME="$XDG_DATA_HOME/cargo"
     25 
     26 # Environment variables
     27 export VISUAL="nvim"
     28 export EDITOR="nvim"
     29 export PAGER="less"
     30 export TERMINAL="alacritty"
     31 export SUDO_ASKPASS="$HOME/.local/bin/sudoaskpass-dmenu"
     32 export GPG_TTY="$(tty)"
     33 export PASSWORD_STORE_GENERATED_LENGTH=8
     34 export PASSWORD_STORE_CHARACTER_SET="[:alnum:]"
     35 
     36 # Go bin to path
     37 [ -d "$GOPATH/bin" ] && export PATH="$PATH:$GOPATH/bin"