f3d5647010
According to ZSH documentation (http://zsh.sourceforge.net/Doc/Release/Files.html), ~/.zshrc is sourced before ~/.zlogin, so defining ZIM_HOME in zshrc and using in zlogin should work.
15 lines
217 B
Bash
15 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
|
|
|