dotfiles/zsh/.zshenv

28 lines
790 B
Plaintext
Raw Permalink Normal View History

2019-04-08 18:26:37 +02:00
export XDG_CONFIG_HOME=${HOME}/.config
export XDG_CACHE_HOME=${HOME}/.cache
export XDG_DATA_HOME=${HOME}/.local/share
2021-10-29 09:31:21 +02:00
export PATH="${PATH}:${HOME}/.bin:${HOME}/.local/bin"
export PATH="${PATH}:${HOME}/.gem/ruby/2.7.0/bin"
2019-04-08 18:26:37 +02:00
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export HISTFILE="$XDG_DATA_HOME/zsh/history"
if [ ! -d $(dirname $HISTFILE) ]; then mkdir -p $(dirname $HISTFILE); fi
export HISTSIZE=5000
export SAVEHIST=5000
export ZCOMPDUMP=$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION
if [ ! -d $(dirname $ZCOMPDUMP) ]; then mkdir -p $(dirname $ZCOMPDUMP); fi
# display time for commands taking longer than this value
export REPORTTIME=10
export KEYTIMEOUT=1
export EDITOR=vim
export PAGER=less
2019-04-08 19:11:21 +02:00
export VIMINIT=":source $XDG_CONFIG_HOME/vim/vimrc"
2019-04-08 18:26:37 +02:00
export ZDOTDIR=${XDG_CONFIG_HOME}/zsh