summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
4 daysfix(dotfiles): allow clearing aliases, disable import (#1995)HEADmainEllie Huxtable
* fix(dotfiles): allow clearing aliases, disable import At the moment there are far too many edge cases to handle importing aliases. 1. We need an interactive shell to print aliases. Without it, most shells won't report much. 2. Many people have their shells print things on startup (graphics, fortunes, etc). This could be detected as an attempt to set an alias. Rather than spend the next year finding import edge cases, I'm disabling it for now. There's probably a better way we can do this? * clippy
6 daysrefactor: preview_auto to use enum and different option (#1991)Helmut K. C. Tessarek
* refactor: preview_auto to use enum and different option * fix: typo
6 dayschore(deps): flake.lock: Update (#1992)github-actions[bot]
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d?narHash=sha256-9slQ609YqT9bT/MNX9%2B5k5jltL9zgpn36DpFB7TkttM%3D' (2024-03-29) → 'github:NixOS/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae?narHash=sha256-yNAevSKF4krRWacmLUsLK7D7PlfuY3zF0lYnGYNi9vQ%3D' (2024-04-28) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
7 daysfeat(history): create atuin-history, add stats to it (#1990)Ellie Huxtable
* feat(history): create atuin-history, add stats to it I'd like to eventually pull all the history stuff into this crate. Stats are a nice start, as I'd like to use them from the UI anyways. * lock * clippy
8 daysfeat(ui/dotfiles): add vars (#1989)Ellie Huxtable
8 dayschore(deps): bump rustix from 0.38.32 to 0.38.34 (#1986)dependabot[bot]
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.32 to 0.38.34. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.32...v0.38.34) --- updated-dependencies: - dependency-name: rustix dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 dayschore(deps): bump unicode-width from 0.1.11 to 0.1.12 (#1987)dependabot[bot]
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.11 to 0.1.12. - [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12) --- updated-dependencies: - dependency-name: unicode-width dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 dayschore(deps): bump debian (#1988)dependabot[bot]
Bumps debian from bullseye-20240408-slim to bullseye-20240423-slim. --- updated-dependencies: - dependency-name: debian dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 daysperf(nushell): use version.(major|minor|patch) if available (#1963)Poliorcetics
11 dayschore(deps): bump typed-builder from 0.18.1 to 0.18.2 (#1967)dependabot[bot]
Bumps [typed-builder](https://github.com/idanarye/rust-typed-builder) from 0.18.1 to 0.18.2. - [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md) - [Commits](https://github.com/idanarye/rust-typed-builder/commits) --- updated-dependencies: - dependency-name: typed-builder dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 dayschore: add some more debug logs (#1979)Ellie Huxtable
P99 is usually <100ms which is excellent, but occasionally has big spikes to 1000ms. This is only on the record index. I don't want this to get out of hand. I've ran a few test queries and they all complete very fast, and are purely index scans. Hopefully this helps figure out if it's a specific user with tonnes of stores or something? Otherwise there could be something up with my db. I should probably also figure out some proper log levels or tracing lol.
12 daysfeat(dotfiles): support syncing shell/env vars (#1977)Ellie Huxtable
There's a bunch of duplication here! I'd also like to support syncing shell "snippets", aka just bits of shell config that don't fit into the structure here. Potentially special handling for PATH too. Rather than come up with some abstraction in the beginning, which inevitably will not fit future uses, I'm duplicating code _for now_. Once all the functionality is there, I can tidy things up and sort a proper abstraction out. Something in atuin-client for map/list style synced structures would probably work best.
12 daysfix(ci): release workflow (#1978)Ellie Huxtable
14 daysfix(dotfiles): unquote aliases before quoting (#1976)weeklyEllie Huxtable
* fix(dotfiles): unquote aliases before quoting * tests
2024-04-22chore(deps): Fix ratatui update (#1975)Tobias Genannt
* chore(deps): bump ratatui from 0.25.0 to 0.26.2 Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.25.0 to 0.26.2. - [Release notes](https://github.com/ratatui-org/ratatui/releases) - [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md) - [Commits](https://github.com/ratatui-org/ratatui/compare/v0.25.0...v0.26.2) --- updated-dependencies: - dependency-name: ratatui dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix build with ratatuin 0.26.2 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22fix(dotfiles): more fish alias import (#1974)Ellie Huxtable
Serves me right for assuming fish mostly is POSIX.
2024-04-22docs: fix "From source" `cd` command (#1973)Richard de Boer
`atuin` was moved into the `crates/` directory in 95cc4720
2024-04-22fix(dotfiles): fish alias import (#1972)Ellie Huxtable
2024-04-22chore: add some more logging to handlers (#1971)Ellie Huxtable
2024-04-22fix(dotfiles): alias import with init output (#1970)Ellie Huxtable
2024-04-21chore(deps): bump rustls from 0.21.10 to 0.21.11 in the cargo group (#1962)dependabot[bot]
Bumps the cargo group with 1 update: [rustls](https://github.com/rustls/rustls). Updates `rustls` from 0.21.10 to 0.21.11 - [Release notes](https://github.com/rustls/rustls/releases) - [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustls/rustls/compare/v/0.21.10...v/0.21.11) --- updated-dependencies: - dependency-name: rustls dependency-type: direct:production dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19fix: support not-mac for default shell (#1960)Ellie Huxtable
2024-04-18chore: fix atuin crate readme (#1959)Ellie Huxtable
2024-04-18chore: move crates into crates/ dir (#1958)Ellie Huxtable
I'd like to tidy up the root a little, and it's nice to have all the rust crates in one place
2024-04-18feat: show preview auto (#1804)Helmut K. C. Tessarek
* feat: show preview auto * refactor: preview_auto
2024-04-18feat: allow ignoring failed commands (#1957)Ellie Huxtable
* feat: allow ignoring failed commands * cleanup
2024-04-17feat(gui): work on home page, sort state (#1956)Ellie Huxtable
1. Start on a home page, can sort onboarding/etc from there 2. Introduce zustand for state management. It's nice! Did a production build and clicked around for a while. Memory usage seems nice and chill.
2024-04-17chore(deps): bump debian (#1947)dependabot[bot]
Bumps debian from bullseye-20240211-slim to bullseye-20240408-slim. --- updated-dependencies: - dependency-name: debian dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17chore(deps): bump lukemathwalker/cargo-chef (#1948)dependabot[bot]
Bumps lukemathwalker/cargo-chef from latest-rust-1.77.1-buster to latest-rust-1.77.2-buster. --- updated-dependencies: - dependency-name: lukemathwalker/cargo-chef dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17feat(doctor): detect active preexec framework (#1955)Koichi Murase
* feat(doctor): check active preexec framework To check if "blesh" or "bash-preexec" is loaded and active in the current Bash session where `atuin doctor` is called, we make the Atuin integration script for Bash to set the environment variable `ATUIN_PREEXEC_BACKEND` and store a string when it detects "blesh" or "bash-preexec". To check whether the obtained ATUIN_PREEXEC_BACKEND is set by the current session, we record SHLVL in ATUIN_PREEXEC_BACKEND and check if it matches SHLVL of the current process. * feat(doctor): detect the case where Atuin is initialized before blesh
2024-04-16feat(server): add me endpoint (#1954)Ellie Huxtable
2024-04-15chore(release): prepare for release v18.2.0 (#1950)v18.2.0Ellie Huxtable
* chore(release): prepare for release v18.2.0 * disable codespell for the changelog
2024-04-15docs: add missing cli help text (#1945)Ellie Huxtable
2024-04-12fix: use spawn_blocking for file access during async context (#1936)Conrad Ludgate
2024-04-11chore(gui): cargo update (#1943)Ellie Huxtable
* chore(gui): cargo update * also fix workspace
2024-04-11feat(gui): add base structure (#1935)Ellie Huxtable
* initial * ui things * cargo * update, add history refresh button * history page a bit better, add initial dotfiles page * re-org layout * bye squigglies * add dotfiles ui, show aliases * add default shell detection * put stats in a little drawer, alias import changes * use new table for aliases, add alias deleting * support adding aliases * close drawer when added, no alias autocomplete * clippy, format * attempt to ensure gdk is installed ok * sudo * no linux things on mac ffs * I forgot we build for windows too... end of day * remove tauri backend from workspace
2024-04-10feat(bash/blesh): use _ble_exec_time_ata for duration even in bash < 5 (#1940)Koichi Murase
Bash < 5.0 doesn't support the high-resolution clock EPOCHREALTIME, so ble.sh uses the builtin command `time` to measure the execution times in Bash < 5.0. This has a lower resolution of milliseconds but still more accurate than Atuin's measurent because Atuin's measurement includes the spawn cost of Atuin, which is typically larger than a millisecond. Reported-by: Georgios Vlassis <https://github.com/gvlassis> Reference: https://github.com/atuinsh/atuin/pull/1484#issuecomment-2047068582
2024-04-10feat(dotfiles): add alias import (#1938)Ellie Huxtable
* feat(dotfiles): add alias import * things * clippy clappy
2024-04-09chore(deps): bump lukemathwalker/cargo-chef (#1929)dependabot[bot]
Bumps lukemathwalker/cargo-chef from latest-rust-1.77.0-buster to latest-rust-1.77.1-buster. --- updated-dependencies: - dependency-name: lukemathwalker/cargo-chef dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09docs(bash-preexec): describe the limitation of missing commands (#1937)Koichi Murase
2024-04-09feat: prevents stderr from going to the screen (#1933)YummyOreo
2024-04-08docs: add install instructions for cave/exherbo linux in README.md (#1927)David Legrand
2024-04-08fix(bash): do not use "return" to cancel initialization (#1928)Koichi Murase
We have introduced initialization guards in #1533 [1], where `return 0` was used to cancel the initialization. However, this cancels the processing of the caller (which is typically `~/.bashrc`) instead of just canceling Atuin's initialization. In this patch, we avoid using `return 0`. Instead, we enclose the main part of the initialization in a big if-statement. [1] https://github.com/atuinsh/atuin/pull/1533
2024-04-08chore(deps): bump regex from 1.10.3 to 1.10.4 (#1930)dependabot[bot]
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.3 to 1.10.4. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.3...1.10.4) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05chore(ci): Add codespell support (config, workflow) and make it fix some ↵Yaroslav Halchenko
typos (#1916) * Add github action to codespell main on push and PRs * Add rudimentary codespell config * ignore crate, inbetween etc * [DATALAD RUNCMD] run codespell throughout fixing typo automagically but ignoring the failure due to ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ * [DATALAD RUNCMD] Do interactive fixing of leftover ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
2024-04-03perf(dotfiles): cache aliases and read straight from file (#1918)Ellie Huxtable
* cache aliases when set locally * handle rebuild on sync and tidy things a bit * support all shells except nu * make clippy happy * fmt * fix for no features
2024-04-03feat: add 'ctrl-a a' to jump to beginning of line (#1917)Helmut K. C. Tessarek
2024-04-02fix: report non-decodable errors correctly (#1915)Ellie Huxtable
2024-04-02fix(install): install script echo (#1899)Ivan Toriya
* fix: install script echo * fix(nu): Update atuin.nu to resolve 0.92 deprecation (#1913) * feat(install): Update install.sh to support KDE Neon (#1908) KDE Neon is based on Ubuntu 22.04, but the OS List for Ubuntu-based distros does not have the string "neon". This commit adds it. * chore(deps): bump lukemathwalker/cargo-chef (#1901) Bumps lukemathwalker/cargo-chef from latest-rust-1.76.0-buster to latest-rust-1.77.0-buster. --- updated-dependencies: - dependency-name: lukemathwalker/cargo-chef dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): flake.lock: Update (#1910) Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/d465f4819400de7c8d874d50b982301f28a84605' (2024-02-28) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ebe6e807793e7c9cc59cf81225fdee1a03413811' (2024-02-29) → 'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d' (2024-03-29) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(doctor): detect preexec plugin using env ATUIN_PREEXEC_BACKEND (#1856) * refactor(doctor): update func names and desc to match current impl * fix(doctor): use environment variable to detect plugin if possible In this patch, if the plugin provides an environment variable, we use the environment variable to test the existence of the plugin. When an environment variable is not available, we continue to use the mock interactive session by "shell -ic command". We also test shell-specific plugins only in the corresponding shells. An additional test can be performed by a custom function for each plugin. * chore(deps): bump sysinfo from 0.30.6 to 0.30.7 (#1888) Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.30.6 to 0.30.7. - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.30.6...v0.30.7) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Ivan Toriya <toriya@precisdigital.com> Co-authored-by: Wind <WindSoilder@outlook.com> Co-authored-by: Diego Carrasco Gubernatis <557703+dacog@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-02feat: sync v2 default for new installs (#1914)Ellie Huxtable