0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
ohmyzsh/plugins/textmate/README.md

18 lines
495 B
Markdown
Raw Normal View History

2018-10-11 06:04:01 +02:00
# TextMate plugin
2018-10-13 02:08:18 +02:00
The plugin adds a function for the [TextMate](https://macromates.com) editor.
2018-10-11 06:04:01 +02:00
To use it, add `textmate` to the plugins array of your zshrc file:
```zsh
2018-10-11 06:04:01 +02:00
plugins=(... textmate)
```
2018-10-13 02:08:18 +02:00
## Function
2018-10-11 06:04:01 +02:00
2018-10-13 02:08:18 +02:00
The `tm` function provides the following options:
- No arguments: Run `mate` in the current directory.
- Argument that is a directory: Run `mate` in the given directory and cd to it.
- Other arguments: Pass all arguments to `mate`. This allows for easy opening of multiple files.