1
0
Fork 0
mirror of synced 2024-06-02 23:31:11 -04:00
zimfw/tools/zim_reset
Thiago Kenji Okada 3e60ae9950 init.zsh: Allow arbitrary ZIM location
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.
2017-08-12 01:07:52 +00:00

7 lines
94 B
Plaintext

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