From 156893d774b4da5b541fdbb08428f9ec392949a0 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sun, 25 Apr 2021 18:21:52 +0100 Subject: Update docs, unify on SQLx, bugfixes (#40) * Begin moving to sqlx for local too * Stupid scanners should just have a nice cup of tea Random internet shit searching for /.env or whatever * Remove diesel and rusqlite fully --- docs/import.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/import.md (limited to 'docs/import.md') diff --git a/docs/import.md b/docs/import.md new file mode 100644 index 00000000..9fc0580e --- /dev/null +++ b/docs/import.md @@ -0,0 +1,27 @@ +# `atuin import` + +Atuin can import your history from your "old" history file + +`atuin import auto` will attempt to figure out your shell (via \$SHELL) and run +the correct importer + +Unfortunately these older files do not store as much information as Atuin does, +so not all features are available with imported data. + +# zsh + +``` +atuin import zsh +``` + +If you've set HISTFILE, this should be picked up! If not, try + +``` +HISTFILE=/path/to/history/file atuin import zsh +``` + +This supports both the simple and extended format + +# bash + +TODO -- cgit v1.3.1