From dffe89f23d76b0b62d1dcab40d71cbf5713e0866 Mon Sep 17 00:00:00 2001 From: anon Date: Sun, 4 Aug 2024 21:51:46 +0200 Subject: [PATCH] it was the script apparently. no clue how it seemed to have worked in the first place --- source/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cli.cpp b/source/cli.cpp index 756a0ca..b2c3383 100644 --- a/source/cli.cpp +++ b/source/cli.cpp @@ -38,7 +38,7 @@ void enable(void) { R"delim( function _histui_run() { COMMANDFILE="${XDG_CACHE_HOME}/histui_command.txt" - export HISTFILE histui tui 3> "${COMMANDFILE}" + HISTFILE=$HISTFILE histui tui 3> "${COMMANDFILE}" READLINE_LINE=$(cat "${COMMANDFILE}") READLINE_POINT=${#READLINE_LINE} }