浏览代码

Format as a list vs a table

Brian Mitchell 5 年之前
父节点
当前提交
5df484d505
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      plugins/textmate/README.md

+ 7 - 7
plugins/textmate/README.md

@@ -1,16 +1,16 @@
 # TextMate plugin
 
-The plugin adds aliases for the [TextMate](https://macromates.com) editor.
+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)
 ```
 
-## Aliases
+## Function
 
-| Alias           | Command     | Description   |
-|-----------------|-------------|---------------|
-| tm              | `mate .`    | Open TextMate in the current directory. |
-| tm \<directory> | `mate <directory>` `cd <directory>` | Open TextMate in the given directory and cd to it. |
-| tm <*>          | `mate "$@"` | Pass all arguments to `mate`. This allows for easy opening of multiple files. |
+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.