1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-24 21:31:58 +00:00
ohmyzsh/plugins/dnote
2022-10-07 14:31:01 +02:00
..
_dnote Add a completion plugin for dnote () 2019-06-15 10:52:22 -07:00
README.md chore(dnote): fix incorrect link () 2022-10-07 14:31:01 +02:00

Dnote Plugin

This plugin adds auto-completion for Dnote, a simple command line notebook.

To use it, add dnote to the plugins array in your zshrc file:

plugins=(dnote)

Usage

At the basic level, this plugin completes all Dnote commands.

$ dnote a(press <TAB> here)

would result in:

$ dnote add

For some commands, this plugin dynamically suggests matching book names.

For instance, if you have three books that begin with 'j': 'javascript', 'job', 'js',

$ dnote view j(press <TAB> here)

would result in:

$ dnote v j
javascript  job         js

As another example,

$ dnote edit ja(press <TAB> here)

would result in:

$ dnote v javascript