Closed sisrfeng closed 2 years ago
PRs welcome.
If the idea is to reuse the same history file as ptpython itself, why pass it in at all? Won't it default to the right thing?
IMO shells should use separate history files, so something like
hist_file = join(
get_save_config_path(),
"ptpython-shell-history")
would be better (but I don't use the ptpython shell so I don't feel strongly about this).
should this linein pudb/shell.py be changed?
history_filename = os.path.expanduser("~/.local/share/ptpython/history")