/zsh-case

A ZSH plugin to change text casing

Primary LanguageShellMIT LicenseMIT

ZSH plugin to change case

This plugin adds two commands to change the casing of output:

  • tolower
  • toupper

These are basically aliases for tr '[:upper:]' [:lower:].

Example usage

echo "Foo" | tolower
# foo

echo "Foo" | toupper
# FOO

Installation

I recommend Antigen to install and manage your ZSH plugins.

Antigen

Put the following in your ~/.zshrc:

antigen bundle rtuin/zsh-case