• Dave@lemmy.nz
    link
    fedilink
    arrow-up
    1
    ·
    5 hours ago

    Thanks, I worked it out. Not a setting as such, but you can use PROMPT_COMMAND to run an action to insert into history each time a prompt is run, as described here.

    Though I have started down a rabbit hole of looking at other options for the shell.