mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
textmate: add README (#7267)
This commit is contained in:
commit
489be2452a
1 changed files with 16 additions and 0 deletions
16
plugins/textmate/README.md
Normal file
16
plugins/textmate/README.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# 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:
|
||||||
|
```
|
||||||
|
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.
|
Loading…
Reference in a new issue