1
0
Fork 0
mirror of synced 2024-06-15 05:21:09 -04:00
zimfw/tools/zim_info
Eric Nielsen 5262a333b0 Fix #75: Mac OS X doesn't recognize -o for uname
Fix `uname` calls with `-o` parameter, as this is not BSD compatible.
As per @Eriner, use `uname -a` instead as a "catch-all" parameter.
2016-09-27 22:13:20 -05:00

10 lines
235 B
Plaintext

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