1
0
Fork 0
mirror of synced 2024-11-18 22:15:34 -05: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

9 lines
235 B
Text

#
# 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)"