# ZSH configuration
export ZDOTDIR="$HOME/.config/zsh"

# Custom configuration
export MY_CONFIG="$HOME/.config/rodolphe"

# History
export HISTFILE_DIR="$HOME/.local/share/zsh"
export HISTFILE="$HISTFILE_DIR/.zsh_history"
export HISTSIZE=5000
export SAVEHIST=100000

# CLI config
export COMPDIR="$HOME/.cache/zsh"
export CLICOLOR=1
export EDITOR='vim'
export PAGER='less'

# Packaging
export USER_NICKNAME="Rodolphe Bréard"
export DEBEMAIL="packages+deb@what.tf"
export DEBFULLNAME="$USER_NICKNAME"

# Path
[ -f "$MY_CONFIG/.setpath.sh" ] && . "$MY_CONFIG/.setpath.sh"
[ -f "$MY_CONFIG/.xdg_set_env.sh" ] && . "$MY_CONFIG/.xdg_set_env.sh"