2
0
Fork 0
forked from zynk/zynk

use $PATH lookup instead of hard-coded path

This commit is contained in:
Armin 2026-06-07 21:41:42 +02:00
commit bb88db5161

2
calc.c
View file

@ -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) {