mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-23 00:34:20 +01:00
156893d774
* 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
28 lines
532 B
Markdown
28 lines
532 B
Markdown
# `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
|