zsh-grawlinson/zshenv

13 lines
490 B
Text
Raw Normal View History

2019-10-31 23:18:00 +00:00
# set environment variable $ZDOTDIR to $HOME/.config/zsh
export ZDOTDIR="${HOME}/.config/zsh"
# set environment variable $ZCACHEDIR to $HOME/.cache/zsh
export ZCACHEDIR="${HOME}/.cache/zsh"
# set environment variable $ZSYSDIR to /usr/share/zsh-grawlinson
export ZSYSDIR="/usr/share/zsh-grawlinson"
# create missing folders
if [ ! -d "${ZDOTDIR}" ]; then mkdir -p "${ZDOTDIR}"; fi
if [ ! -d "${ZCACHEDIR}" ]; then mkdir -p "${ZCACHEDIR}"; fi
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2