Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
481 B

  1. #!/bin/bash
  2. cd "$HOME/notes" || exit 1
  3. # TODO:
  4. # - Arguably the following should select _things that are linked to_ as well.
  5. # That is, I want to be able to automate links to stuff that I haven't
  6. # actually defined a page for yet.
  7. # - Also, arguably, the grep should be done in notes-pages instead. It was
  8. # just kind of a pain when I was looking at this.
  9. sort \
  10. <(notes-pages --format name| grep -v '^(log|diary)/') \
  11. pinboard-tag-index \
  12. p1k3-index \
  13. | uniq