zim/tools/zim_reset
Thiago Kenji Okada f6bb75579f Allow arbitrary ZIM location with ZIM_HOME
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
2017-09-04 17:25:01 -05:00

6 linhas
94 B
Text

#
# zim_reset - resets the zim repository to latest commit
#
cd ${ZIM_HOME}
git reset --hard