f6bb75579f
This change allow arbitrary Zim location path by setting a new environment variable, ZIM_HOME. If the user does not set it, Zim falls back to the old "${ZDOTDIR:-${HOME}}/.zim" location. Closes #203
14 lines
217 B
Bash
14 lines
217 B
Bash
|
|
|
|
#
|
|
# User configuration sourced by interactive shells
|
|
#
|
|
|
|
# Change default zim location
|
|
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
|
|
|
|
# Source zim
|
|
if [[ -s ${ZIM_HOME}/init.zsh ]]; then
|
|
source ${ZIM_HOME}/init.zsh
|
|
fi
|
|
|