lnxbil/oh-my-zsh — comment on commit ce027e80a8680aa9432204e906fa41882a2f5b63
File: plugins/battery/battery.plugin.zsh line 28
By sorin-ionescu:

You can use `if [[ "$OSTYPE" == darwin* ]]` instead of `uname -s`.