From bb88db5161ff6d273e248a9b97ee778d783f017d Mon Sep 17 00:00:00 2001 From: Armin Date: Sun, 7 Jun 2026 21:41:42 +0200 Subject: [PATCH] use $PATH lookup instead of hard-coded path --- calc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calc.c b/calc.c index dbf04ed..3cded56 100644 --- a/calc.c +++ b/calc.c @@ -226,7 +226,7 @@ static char *db_get(const char *key) { return r; } static void db_close_cleanup(void) { if (db_handle) { db_close(DB); db_handle = NULL; } } -#define OPENCODE_BIN "/home/recursion/.node_modules/.bin/opencode" +#define OPENCODE_BIN "opencode" #define AI_REPLY_MAX 400 static pid_t pending_ai_pid; static int ai_start(const char *question, const char *target, const char *nick) {