3e60ae9950
This change allow arbitrary ZIM location path by setting a new environment variable, ZIM_PATH. If the user does not set it, ZIM falls back to the old "${ZDOTDIR:-${HOME}}/.zim" location.
7 lines
94 B
Plaintext
7 lines
94 B
Plaintext
#
|
|
# zim_reset - resets the zim repository to latest commit
|
|
#
|
|
|
|
cd ${ZIM_HOME}
|
|
git reset --hard
|