Implements the xonsh history backend via sqlite3.
-
class
xonsh.history.sqlite.
SqliteHistory
(gc=True, filename=None, **kwargs)[source]
Xonsh history backend implemented with sqlite3.
-
all_items
()[source]
Display all history items.
-
items
()[source]
Display history items of current session.
-
class
xonsh.history.sqlite.
SqliteHistoryGC
(wait_for_shell=True, size=None, filename=None, *args, **kwargs)[source]
Shell history garbage collection.
Thread responsible for garbage collecting old history.
May wait for shell (and for xonshrc to have been loaded) to start work.