# XDG variables
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_DIR=$HOME/.local/share
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export XDG_CONFIG_DIRS=/etc/xdg

# Make various programs play nice with XDG
export HISTFILE=$XDG_DATA_DIR/zsh/history
export TIGRC_USER=$XDG_CONFIG_HOME/tig/tigrc
export TMUX_TEMPDIR=$XDG_RUNTIME_DIR/tmux
export PYLINTRC=$XDG_CONFIG_HOME/pylint/pylintrc
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs
export CCACHE_DIR=$XDG_CACHE_HOME/ccache
export NOTMUCH_CONFIG=$XDG_CONFIG_HOME/notmuch/notmuch-config

# System sepcific variables
export EDITOR="/usr/bin/vim"
export TERM="screen-256color"
export PATH="$(/usr/bin/ruby -rubygems -e 'puts Gem.user_dir')/bin:/usr/lib/ccache/bin:/sbin:/usr/sbin:$PATH:$HOME/.local/bin"
export GOPATH="$HOME/golang"

# vim: ft=sh

# XDG variables
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_DIR=$HOME/.local/share
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export XDG_CONFIG_DIRS=/etc/xdg

# Make various programs play nice with XDG
export HISTFILE=$XDG_DATA_DIR/zsh/history
export TIGRC_USER=$XDG_CONFIG_HOME/tig/tigrc
export TMUX_TEMPDIR=$XDG_RUNTIME_DIR/tmux
export PYLINTRC=$XDG_CONFIG_HOME/pylint/pylintrc
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs
export CCACHE_DIR=$XDG_CACHE_HOME/ccache
export NOTMUCH_CONFIG=$XDG_CONFIG_HOME/notmuch/notmuch-config
export LESSHISTFILE=$XDG_DATA_DIR/less/history

# System sepcific variables
export EDITOR="/usr/bin/vim"
export TERM="screen-256color"
export PATH="$(/usr/bin/ruby -rubygems -e 'puts Gem.user_dir')/bin:/usr/lib/ccache/bin:/sbin:/usr/sbin:$PATH:$HOME/.local/bin"
export GOPATH="$HOME/golang"

# vim: ft=sh

Fix history file for less
XDG: Fix history file for less
