rhysd / notes-cli

Small markdown note taking CLI app playing nicely with your favorite editor and other CLI tools
MIT License
218 stars 26 forks source link

add fish completion #5

Closed hisaknown closed 4 years ago

hisaknown commented 4 years ago

I've added completion script for fish shell.
Here's a screenshot. image

It is basically based on zsh completion, but additionally, it can complete categories and tags after notes ls --category and so on. (Note that it unfortunately doesn't work with =, like notes ls --category=.)

codecov-io commented 4 years ago

Codecov Report

Merging #5 into master will decrease coverage by 2.54%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #5      +/-   ##
=========================================
- Coverage   91.95%   89.4%   -2.55%     
=========================================
  Files          19      19              
  Lines         982     982              
=========================================
- Hits          903     878      -25     
- Misses         56      83      +27     
+ Partials       23      21       -2
Impacted Files Coverage Δ
cmd_selfupdate.go 13.88% <0%> (-69.45%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 99b0f10...f711eb8. Read the comment docs.

rhysd commented 4 years ago

I added instruction at da4fa26a6feed9b834d99524fdf17fcb23fedbbf. Please let me know if it's wrong.