mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(tldr): add tldr plugin (#12429)
This commit is contained in:
parent
f6b3fc84d1
commit
dfb436b54a
2 changed files with 34 additions and 0 deletions
15
plugins/tldr/README.md
Normal file
15
plugins/tldr/README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# tldr plugin
|
||||
|
||||
This plugin adds a shortcut to insert tldr before the previous command.
|
||||
Heavily inspired from [Man plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/man).
|
||||
|
||||
To use it, add `tldr` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... tldr)
|
||||
```
|
||||
|
||||
# Keyboard Shortcuts
|
||||
| Shortcut | Description |
|
||||
|------------------------------------|----------------------------------------------------------------------------|
|
||||
| <kbd>Esc</kbd> + tldr | add tldr before the previous command to see the tldr page for this command |
|
||||
Loading…
Add table
Add a link
Reference in a new issue