citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit c92b0e93799887f24d013854c4f546575d980301
parent 7c72537e116cf6f95cf90b88b916c4406933b0b1
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 19 Sep 2020 12:08:03 -0700

bin/books: make any dir book-searchable

Diffstat:
Mbin/books | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/books b/bin/books @@ -1,5 +1,5 @@ #!/usr/bin/env bash -BOOKS_DIR="$HOME/docs/books" +BOOKS_DIR="${1:-$HOME/docs/books}" find "$BOOKS_DIR" -name '*.txt' -type f -printf "%f\n" | fzf |