yet another opinionated zsh framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
524 B

# set environment variables to conform with XDG base directory specification
export ZDOTDIR="${HOME}/.config/zsh"
export ZCACHEDIR="${HOME}/.cache/zsh"
# set framework location
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
# create empty zshrc if it does not exist
if [ ! -e "${ZDOTDIR}/.zshrc" ]; then touch "${ZDOTDIR}/.zshrc"; fi
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2