1
0
Fork 0
mirror of synced 2024-11-22 23:35:35 -05:00
zimfw/templates/zshrc
Eric Nielsen a8244a555a [template] Add new templates/zlogin
that sources `login_init.zsh`.

Also refactor templates/zshrc to use a one-liner instead of if/then/fi.

Closes #218
2017-11-24 19:08:29 -05:00

11 lines
203 B
Bash

#
# User configuration sourced by interactive shells
#
# Change default zim location
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Start zim
[[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh