https://github.com/wooorm/osx-shortcut
Add autocorrect text shortcuts to OS X
https://github.com/wooorm/osx-shortcut
cli macos osx replace replacement shortcut text
Last synced: about 1 year ago
JSON representation
Add autocorrect text shortcuts to OS X
- Host: GitHub
- URL: https://github.com/wooorm/osx-shortcut
- Owner: wooorm
- License: mit
- Created: 2015-08-08T11:20:42.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2020-06-16T08:24:27.000Z (almost 6 years ago)
- Last Synced: 2025-04-12T17:07:05.029Z (about 1 year ago)
- Topics: cli, macos, osx, replace, replacement, shortcut, text
- Language: Shell
- Size: 70.3 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: funding.yml
- License: license
Awesome Lists containing this project
README
# osx-shortcut ![`bin/sh`][bash]
> Add autocorrect text shortcuts, as in, when I type `$a`, its
> expanded to `$b`.
Tested on OS X 10.10 (Yosemite), might work earlier.
Uses undocumented features, meaning that this might break on new releases
of OS X (but your shortcuts will not).
## Install
[npm][]
```bash
npm install osx-shortcut --global
```
## Usage
```text
Usage: shortcut [options]
Options:
-h, --help output usage information
-v, --version output version
You can also pass CSV on stdin(4).
Examples:
$ shortcut "omw" "on my way"
$ shortcut <<< "omw,on my way"
See also: man 1 shortcut
```
Go to `System Preferences` > `Keyboard` > `Text` to see your shortcuts.
![][screenshot]
## License
[MIT][] © [Titus Wormer][author]
[bash]: https://img.shields.io/badge/bin-sh-89e051.svg
[npm]: https://docs.npmjs.com/cli/install
[mit]: license
[author]: http://wooorm.com
[screenshot]: ./screenshot.png