Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redxtech/zsh-tre
A zsh plugin that makes using the tre command easier.
https://github.com/redxtech/zsh-tre
oh-my-zsh tre zsh zsh-plugin
Last synced: about 1 month ago
JSON representation
A zsh plugin that makes using the tre command easier.
- Host: GitHub
- URL: https://github.com/redxtech/zsh-tre
- Owner: redxtech
- License: other
- Created: 2021-07-02T22:52:27.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T23:51:05.000Z (almost 3 years ago)
- Last Synced: 2024-01-08T16:10:49.614Z (5 months ago)
- Topics: oh-my-zsh, tre, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Lists
- awesome-zsh-plugins - tre - Makes using [tre](https://github.com/dduan/tre#editor-aliasing) easier. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - tre - Makes using <b><code> 681⭐</code></b> <b><code> 14🍴</code></b> [tre](https://github.com/dduan/tre#editor-aliasing)) easier. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - tre - Makes using [tre](https://github.com/dduan/tre#editor-aliasing) easier. (Plugins / ZSH on Windows)
README
# tre
> tre is a zsh plugin that makes using `tre` easier.## Installing
### zinit
Add this to your zinit config (.zshrc):
```zsh
zinit light redxtech/zsh-tre# it also works with turbo mode:
zinit ice wait lucid
zinit load redxtech/zsh-tre
```### oh-my-zsh
Install it with your favourite zsh package manager, or clone it directly to your
`$ZSH_CUSTOM/plugins` directory with git, and add `zsh-tre` to the plugins
array in your `.zshrc` file:```zsh
plugins=(... zsh-tre)
```## Usage
There is really nothing to it. All that this plugin does it alias `tre` to this:
```zsh
tre() {
command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null;
}
```
You can read more about this in `tre`'s [readme](https://github.com/dduan/tre#editor-aliasing).## Author
**tre** © [Gabe Dunn](https://github.com/redxtech), Released under the [MIT](./license.md) License.