zk icon indicating copy to clipboard operation
zk copied to clipboard

Expanding named filters in path-based filtering options

Open mickael-menu opened this issue 3 years ago • 0 comments

Named filters are currently expanded only in the path argument of filtering options, e.g.

[filter]
draft = "--tag 'draft OR todo'"
$ zk list draft --interactive

By expanding it in filtering options taking path arguments as well, we open the possibility for easy nested filtering commands. Named filters would become some kind of "virtual directories".

$ zk list --exclude draft

mickael-menu avatar Mar 25 '21 08:03 mickael-menu