Maybe I'm misunderstanding something. I have this at the top of my init.lua, but the CLI history is never saved, not sure what am I doing wrong here?
hs.ipc.cliInstall() -- Ensure the IPC command line client is available
hs.ipc.cliSaveHistory(true) -- save CLI history