mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-18 03:40:08 +00:00
610b2529d2
- fasd - history - mercurial - pylint - repo - yii2
17 lines
495 B
Markdown
17 lines
495 B
Markdown
# TextMate plugin
|
|
|
|
The plugin adds a function for the [TextMate](https://macromates.com) editor.
|
|
|
|
To use it, add `textmate` to the plugins array of your zshrc file:
|
|
|
|
```zsh
|
|
plugins=(... textmate)
|
|
```
|
|
|
|
## Function
|
|
|
|
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.
|