Closed ipochi closed 4 years ago
zksim is actually meant to take a note title (filename) as an argument. It assumes you have zk set up and working - so you would have an "index.db" sqlite table file with some notes stored in it.
Something like...
$ zksim 202006030622 Your note title.md
Would return the top 20 similar files by filename in plain-text. This is meant to be used in conjunction with zks
using Alt-s
.
I actually just realized, however, I have an issue using the Alt-s
bind currently in master for zks
. I have been using a slightly different version I'm tweaking personally so if you still have issues let us know.
Edit: As far as changing the README, I am hesitant to add usage for the command line as it is meant to be used within zks... I am adding error handling that I hope will make that error more clear, though.
From the README: zksim. Finds similar notes to the note passed as an argument. See #1 for more.
, yeah, I think the error improvement should be good enough for now π
I am trying to setup
zk
for personal use and I am not able to figure out the example usage ofzksim
I am getting error when executing the command (p.s I am confused about the input arguments to zksim) but I doubt it matters.