3 ms·
It would be very nice to have some way of integrating this into OhMyZSH as a plugin. OMZ can already do extraction of command line arguments by tab completion (
by gravypod 9y ago
It would be very nice to have some way of integrating this into OhMyZSH as a plugin. OMZ can already do extraction of command line arguments by tab completion (and it will attempt to make a brief description of what the flag does) [0][1].
It might be nice to be able to type "tldr compress a folder into a tarball" and click tab to have a set of templates suggested to you. You can navigate to them and click enter to replace your current command line contents with the template.
[0] - https://i.imgur.com/qFnvvaU.png https://i.imgur.com/qFnvvaU.png
[1] - https://i.imgur.com/usOwgw2.png https://i.imgur.com/usOwgw2.png
- agnivade 9y agoMaintainer here. The node client already has autocompletion for OMZ users - https://github.com/tldr-pages/tldr-node-client#zsh https://github.com/tldr-pages/tldr-node-client#zsh. It also supports command search. So you can do `tldr search "compress a folder into a tarball"`. And you will be shown the top 10 matches. Yes, its not exactly autocompletion. It's more of a match to the apropos command.