Comment Comment by chainsaw10 You can do something similar with bash. If you set PROMPT_COMMAND='history -a', it'll append to the history file right after the command completes (because the prompt command is run as the prompt is printed). parent chainsaw10 8 years ago