27 lines
719 B
Bash
27 lines
719 B
Bash
export XDG_CONFIG_HOME=${HOME}/.config
|
|
export XDG_CACHE_HOME=${HOME}/.cache
|
|
export XDG_DATA_HOME=${HOME}/.local/share
|
|
|
|
export PATH="${PATH}:${HOME}/.bin"
|
|
export PATH="${PATH}:${HOME}/.gem/ruby/2.5.0/bin"
|
|
|
|
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
|
|
|
|
export ZDOTDIR=${XDG_CONFIG_HOME}/zsh
|