dotfiles/zsh/.oh-my-zsh/plugins/dnote
2020-01-22 17:47:26 +01:00
..
_dnote Add zsh/oh my zsh/w10k 2020-01-22 17:47:26 +01:00
README.md Add zsh/oh my zsh/w10k 2020-01-22 17:47:26 +01:00

Dnote Plugin

This plugin adds auto-completion for Dnote project.

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