aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src/import (follow)
Commit message (Collapse)AuthorAge
* Improve error message for issue #850. (#876)postmath2023-04-14
| | | | | * Improve error message for issue #850. * Applied cargo fmt, doh.
* Switch to uuidv7 (#864)Ellie Huxtable2023-04-11
| | | | | | | | | * Add uuid_v7 * Actually use the new uuid * Add a test to ensure all uuids are unique, even in a tight loop * Make clippy happy
* Use XDG data directory for fish import (#851)János Illés2023-04-08
| | | | | | | | | | | | | * Use XDG data directory for fish import On MacOS, atuin was looking for fish history under "$HOME/Library/Application Support". Now atuin honors XDG_DATA_HOME, if set, and otherwise uses "$HOME/.local/share". * cargo fmt --------- Co-authored-by: Charles Gould <charles@gould.dev>
* Handle empty lines when importing from Bash (#845)cyqsimon2023-04-05
| | | | | | | * Handle empty lines * Fix insufficient accuracy in timestamp tests * Use nanoseconds
* feat: add *Nushell* support (#788)Steven Xu2023-03-26
| | | | | | | | | * feat: add *Nushell* support * refactor: use `sh` to swap `STDOUT` and `STDERR` instead of using a temporary file * feat: include both keybindings, with the current REPL buffer passed to *Atuin*'s * feat: don't record commands run by keybindings
* Add history deletion (#791)Ellie Huxtable2023-03-20
| | | | | | | | | | | | | * Drop events. I'd still like to do them, but differently * Start adding delete api stuff * Set mailmap * Delete delete delete * Fix tests * Make clippy happy
* Rework Bash import (#747)cyqsimon2023-03-02
| | | | | | | | | * Rework Bash import Closes #745 - Imported history is now ordered correctly - Timestamps (when `HISTTIMEFORMAT` is set) are handled correctly * Timestamp tests test for strict sorting
* crossterm support (#331)Conrad Ludgate2023-02-10
| | | | | | | | | | | * crossterm v2 * patch crossterm * fix-version * no more tui dependency * lints
* Try to make clippy happy 🥺 (#686)Ellie Huxtable2023-02-06
| | | | | | | * Try to make clippy happy 🥺 * Fmt * I missed one (can't run clippy locally on airport wifi...)
* Never use HISTFILE for fish shell import (#573)Patrick Jackson2022-10-19
|
* Fix ZSH import printEllie Huxtable2022-10-10
|
* Noyez fix dir hostname utf8 (#430)noyez2022-06-05
| | | | | | | * Allow zsh_histdb import diretories and hostnames as utf-8 * Allow zsh_histdb import diretories and hostnames as utf-8 Co-authored-by: Bradley Noyes <b@noyes.dev>
* Noyez zsh histdb import (#393)noyez2022-05-20
| | | | | | | | | | | | | | | | | | * Attempting to implement zsh-histdb import Import compiles passes tests, but doesn't run b/c of async runtime. zsh-histdb uses sqlite, and sqlx-rs is async, but import code is sync. * More working on importing histdb * Rewriting tests and using `Vec<u8>` instead of `String` - Rewriting tests to eliminate depencency on local file system - Using `Vec<u8>` for command strings instead of `String` to eliminate the utf8 errors i was seeing previously. Seems to be working. * Running fmt Co-authored-by: Bradley Noyes <b@noyes.dev>
* Importer V3 (#395)Conrad Ludgate2022-05-09
| | | | | | | | | * start of importer refactor * fish * resh * zsh
* ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek2022-04-28
| | | | | | | * ignore JB IDEs * tidy-up imports * add rustfmt config
* refactor (#327)Conrad Ludgate2022-04-22
|
* A few minor tweaks (#314)Conrad Ludgate2022-04-21
| | | | | | | | | * use bail macro replace client database errors remove dead code * fix test
* Fish importing (#234)Conrad Ludgate2021-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make a start on fish * fix * test * enable fish * fmt * update histpath set up fish init script * update readme * cover edge case * fmt * fix session variables Co-authored-by: PJ <me@panekj.dev> * respect NOBIND Co-authored-by: PJ <me@panekj.dev> * fix env var setting Co-authored-by: PJ <me@panekj.dev> * fix whitespace Co-authored-by: PJ <me@panekj.dev> * add fish to supported shells Co-authored-by: PJ <me@panekj.dev>
* chore: some new linting (#201)Conrad Ludgate2021-11-13
| | | | | | | * chore: some new linting * chore: some more linting * chore: rustfmt
* Reordered fuzzy search (#179)Mark Wotton2021-09-09
| | | | | | | | * add test demonstrating problem * add a reordered fuzzy-search mode that presents shorter matches first, rather than using strict chronological ordering. * fix warnings, refactor interface to minspan slightly
* Fix resh importer crashing on end of file (#92)Jamie Quigley2021-05-09
|
* Generic Importer Trait (#71)Conrad Ludgate2021-05-09
| | | | | | | | | | | | | | | | | * initial importer trait * appease linters * improve file handling. fixes #66 * use size hint * format + comment * update serde rename mess * tested :sunglasses: :rocket: * small formatting
* Fix resh importer, and change error handling method (#82)Jamie Quigley2021-05-09
|
* Add importer for resh_history file (#69)Jamie Quigley2021-05-08
| | | | | * Added resh history importer * Silence trivial clippy warnings for the PR CI
* Support bash, resolves #3Ellie Huxtable2021-04-26