1
0
Fork 0
mirror of synced 2024-06-02 15:21:11 -04:00
zimfw/templates/zshrc
Thiago Kenji Okada f3d5647010 templates: Change templates to use ZIM_HOME
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.
2017-08-12 01:08:00 +00:00

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