https://github.com/rtuin/zsh-case
A ZSH plugin to change text casing
https://github.com/rtuin/zsh-case
antigen zsh zsh-plugin
Last synced: 4 months ago
JSON representation
A ZSH plugin to change text casing
- Host: GitHub
- URL: https://github.com/rtuin/zsh-case
- Owner: rtuin
- License: mit
- Created: 2020-01-11T17:06:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T11:09:15.000Z (over 5 years ago)
- Last Synced: 2025-01-21T02:42:46.376Z (6 months ago)
- Topics: antigen, zsh, zsh-plugin
- Language: Shell
- Size: 1000 Bytes
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
echo "Foo" | tolower
# fooecho "Foo" | toupper
# FOO
```## Installation
I recommend [Antigen](https://github.com/zsh-users/antigen) to install and manage your ZSH plugins.
### Antigen
Put the following in your `~/.zshrc`:
```bash
antigen bundle rtuin/zsh-case
```