Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell completion #192

Open
mickael-menu opened this issue Apr 23, 2022 Discussed in #165 · 0 comments
Open

Shell completion #192

mickael-menu opened this issue Apr 23, 2022 Discussed in #165 · 0 comments
Labels
feature request Something is missing

Comments

@mickael-menu
Copy link
Member

Discussed in https://github.com/mickael-menu/zk/discussions/165

Originally posted by rgoncalvesse February 4, 2022

Am I am missing something or is there still no shell completion?

Actually, I would separate the completion in two distinct types:

  1. Basic completion. Suggesting commands (e.g. new, list, ...) and flags for each of those commands (e.g. --help, -f/--format, ...).
  2. Filter completion. Suggesting note title, note id or tags when filtering (e.g. https://github.com/mickael-menu/zk/blob/main/docs/note-filtering.md#filter-by-tags)

For instance, taskwarrior suggests a multitude of dates/day/month/events when creating a new task with a due date. For zk, the ultimate completion state could be to suggest similar days/events when filtering notes by creation or modification (see below).

image

@mickael-menu mickael-menu added the feature request Something is missing label Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Something is missing
Projects
None yet
Development

No branches or pull requests

1 participant