You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libedit apparently refuses to save the history (returns false from readline_write_history) if the history file is not owned by the user, even if it is writable. It would be nice if psysh would warn about this on startup (currently it only warns about the file not being writable) - with the total lack of error reporting in libedit/readline, it is frustrating to debug.
The text was updated successfully, but these errors were encountered:
Ubunut Xenial and Debian Stretch are the ones where I can test easily and those both do it. I didn't find it documented anywhere but then documentation for libedit is not great in general.
Yeah, checking file permissions on return false seems the most robust.
libedit apparently refuses to save the history (returns false from
readline_write_history
) if the history file is not owned by the user, even if it is writable. It would be nice if psysh would warn about this on startup (currently it only warns about the file not being writable) - with the total lack of error reporting in libedit/readline, it is frustrating to debug.The text was updated successfully, but these errors were encountered: