1
0
Fork 0
mirror of synced 2024-06-02 23:31:11 -04:00
zimfw/tools/zim_info
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

10 lines
222 B
Plaintext

#
# zim_info - prints zim and system info
#
cd ${ZIM_HOME}
print "Zim commit ref: $(command git rev-parse --short HEAD)"
print "Zsh version: $(command zsh --version)"
print "System info: $(command uname -a)"