aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/client/import.rs (unfollow)
Commit message (Collapse)Author
2023-04-14Workspace reorder (#868)Vladislav Stepanov
* Try different workspace structure Move main crate (atuin) to be on the same level with other crates in this workspace * extract common dependencies to the workspace definition * fix base64 v0.21 deprecation warning * questionable: update deps & fix chrono deprecations possible panic sites are unchanged, they're just more visible now * Revert "questionable: update deps & fix chrono deprecations" This reverts commit 993e60f8dea81a1625a04285a617959ad09a0866.
2023-03-26feat: add *Nushell* support (#788)Steven Xu
* 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
2023-03-05Windows support (#754)YummyOreo
* adds support for getting home dir in windows * fixes bug * adds windows server support + build for linux ^| todo: test server on linux * improvements to redability * removes comment * returns if windows when importing auto * this should be here, to prevent double inputs * adds explanation to why we have to throw away 1 event in the tui * better message when running atuin import on windows + spell fix
2022-12-16Switch to using ATUIN_LOG instead of RUST_LOG (#642)Ellie Huxtable
* Switch to using ATUIN_LOG instead of RUST_LOG * Stop clippy complaining * I should know better - clippy is never happy :(
2022-10-18Upgrade clap (#568)Conrad Ludgate
2022-05-20Noyez zsh histdb import (#393)noyez
* 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>
2022-05-09Importer V3 (#395)Conrad Ludgate
* start of importer refactor * fish * resh * zsh
2022-04-28ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek
* ignore JB IDEs * tidy-up imports * add rustfmt config
2022-04-26fix import auto for bash (#352)jean-santos
2022-04-21refactor commands for better separation (#313)Conrad Ludgate
* refactor commands for better separation * fmt
2022-04-07Update to clap 3.1.x (#289)Jamie Quigley
2021-12-11Fish importing (#234)Conrad Ludgate
* 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>
2021-05-09Generic Importer Trait (#71)Conrad Ludgate
* initial importer trait * appease linters * improve file handling. fixes #66 * use size hint * format + comment * update serde rename mess * tested :sunglasses: :rocket: * small formatting
2021-05-09Fix resh importer, and change error handling method (#82)Jamie Quigley
2021-05-08Add importer for resh_history file (#69)Jamie Quigley
* Added resh history importer * Silence trivial clippy warnings for the PR CI
2021-04-26Support bash, resolves #3Ellie Huxtable
2021-04-25Update docs, unify on SQLx, bugfixes (#40)Ellie Huxtable
* 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
2021-04-20Use cargo workspaces (#37)Ellie Huxtable
* Switch to Cargo workspaces Breaking things into "client", "server" and "common" makes managing the codebase much easier! client - anything running on a user's machine for adding history server - handles storing/syncing history and running a HTTP server common - request/response API definitions, common utils, etc * Update dockerfile
2021-02-15Fix import messageEllie Huxtable
2021-02-15use database trait instead of sqlite impl (#10)Conrad Ludgate
small improvements
2021-02-14Add stats command (#9)Ellie Huxtable
* Add stats command For example atuin stats day yesterday atuin stats day last friday atuin stats day 01/01/21 * Output tables, fix import blanks
2021-02-14zsh bin is sometimes /usr/bin/zsh or might be elsewhere too (#8)Conrad Ludgate
zsh also uses ~/.zsh_history get better errors for not found history file
2021-02-14Make pedantic clippy happyEllie Huxtable
2021-02-13Minor fixesEllie Huxtable
2021-02-13Add sessionsEllie Huxtable
2021-02-13Implement history importEllie Huxtable