'history -n' should re-read history file if history is cleared
From:
Siteshwar Vashisht
Subject:
'history -n' should re-read history file if history is cleared
Date:
Mon, 17 Apr 2017 16:58:24 -0400 (EDT)
Reproducer steps :
> PROMPT_COMMAND="history -a; history -c; history -n"
> history
Actual output :
2 history
Expected output:
All the older history items from bash history file should be re-read.
I am providing a test patch that resolves this issue.
--
--
Siteshwar Vashisht