history -r should print error message if file doesn't exist.
$ history -r zzzzz
$
Currently one must test like:
$ history -r zzzzz || echo FAILED!

Reply via email to