summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-21 16:52:58 -0400
committerJune McEnroe <june@causal.agency>2020-05-21 16:52:58 -0400
commit80dd4af7bdd224679b3c2c17328f6498cd4a15d1 (patch)
tree36e909fd4b80c70ee1c63835768f62100620b282
parentFix dbPrepare errx call (diff)
downloadlitterbox-80dd4af7bdd224679b3c2c17328f6498cd4a15d1.tar.gz
litterbox-80dd4af7bdd224679b3c2c17328f6498cd4a15d1.zip
Fix search expression append
Oops.
-rw-r--r--scoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index e22a08e..59adaff 100644
--- a/scoop.c
+++ b/scoop.c
@@ -470,7 +470,7 @@ int main(int argc, char *argv[]) {
 		}
 	}
 	if (optind < argc) {
-		queryAdd(SQL(search MATCH :search));
+		queryAdd(SQL(AND search MATCH :search));
 		binds[n++] = Bind(":search", argv[optind], 0);
 	}
 	if (limit) {
39 -0500'>2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe This simplifies some things, adds support for line number tag definitions, and should enable combining htagml with other preprocessors in the future. 2021-01-12Split fields by tab onlyJune McEnroe Also don't fail hard on non-forward-search definitions. 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe neovim is laggy as hell in my OpenBSD VM, so I switched to vi so I could type without getting frustrated. 2021-01-09Add c -t flag to print expression typeJune McEnroe Also add missing float case. 2021-01-05Update taglineJune McEnroe