This plugin adds two commands to change the casing of output:
tolowertoupper
These are basically aliases for tr '[:upper:]' [:lower:].
echo "Foo" | tolower
# foo
echo "Foo" | toupper
# FOOI recommend Antigen to install and manage your ZSH plugins.
Put the following in your ~/.zshrc:
antigen bundle rtuin/zsh-case