pub fn history_path(prog: &str) -> PathBuf
Derives the conventional history path for a program name.
A prog containing / or . is taken to be the path itself; otherwise the result is ~/.{prog}_history, as bestline does.
prog
/
.
~/.{prog}_history