1
0
mirror of https://github.com/atuinsh/atuin.git synced 2025-01-20 05:09:21 +01:00
Commit Graph

500 Commits

Author SHA1 Message Date
Ellie Huxtable
c65e7528f4
Copy license for cargo-deb () 2023-04-20 01:14:49 +01:00
Ellie Huxtable
beadc95926
Upload tar before building deb () 2023-04-19 09:04:31 +01:00
Ellie Huxtable
d5cc25531d
Add symlink () 2023-04-18 22:38:16 +01:00
Ellie Huxtable
0feee3d189
Allow specifying tag to build for workflow_dispatch () 2023-04-18 21:51:39 +01:00
Ellie Huxtable
cc5b167f92
Add package param to cargo deb () 2023-04-18 21:43:17 +01:00
Ben J
281aa092b2
Re-added package name to workspace.package () 2023-04-18 20:38:16 +00:00
Maxim Uvarov
7cc893d67d
Add keyboard shortcuts to the Config/Keybinding chapter. ()
* Added Shortcuts section to keybinings

* Removed obvious shortcuts

* Update docs/docs/config/key-binding.md

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>

* Update docs/docs/config/key-binding.md

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>

* replaced cursor keys with emojis

* got back to utf symbols

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
2023-04-17 21:24:25 +01:00
Conrad Ludgate
c7d89c1703
chore: uuhhhhhh crypto lol ()
* chore: uuhhhhhh crypto lol

* remove dead code

* fix key decoding

* use inplace encryption
2023-04-17 21:12:02 +01:00
Ellie Huxtable
678323b543
Add workflow dispatch for release () 2023-04-17 20:45:06 +01:00
Ellie Huxtable
83ed195d27
Fix release workflow () 2023-04-16 12:52:06 +01:00
Ellie Huxtable
7c079070c5
Release v14.0.1 () 2023-04-16 11:25:48 +00:00
Ellie Huxtable
d18e1b59ef
Make the homepage prettier () 2023-04-15 22:38:23 +01:00
Ellie Huxtable
512a6bda9c
Add footer () 2023-04-15 18:04:19 +01:00
Ellie Huxtable
d5515f5bcd
Avoid accidentally deleting all history, but allow it if intended ()
* Avoid accidentally deleting all history, but allow it if intended

* docs
2023-04-15 10:24:59 +01:00
postmath
64671a17c1
Improve error message for issue . ()
* Improve error message for issue .

* Applied cargo fmt, doh.
2023-04-14 19:48:45 +00:00
Vladislav Stepanov
c05d285042
Workspace reorder ()
* 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 993e60f8de.
2023-04-14 20:18:58 +01:00
Ellie Huxtable
03dd3ddf8b
Switch to uuidv7 ()
* 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
2023-04-11 16:26:16 +01:00
Brian Kung
301296fae5
Add additional detail to search documentation () 2023-04-11 11:25:02 +01:00
Tom Cammann
e149a0a6e9
Add --reverse to atuin search ()
Add `-r/--reverse` flag to `atuin search` to allow searching by oldest
results first.

Example to find the oldest `cargo` command:
```
atuin search --limit 1 --reverse cargo
```
2023-04-11 09:39:23 +01:00
Gokul
e0c4ec5498
Atuin stats with day, month, week and year filter ()
* atuin stats with day, month and year

* fixed stats for week

* review suggestions

* rust formatted
2023-04-10 16:50:25 +01:00
Jan Larres
bca1e64dd3
Add some emacs movement keys () 2023-04-09 15:40:40 +00:00
János Illés
04044c4146
Use XDG data directory for fish import ()
* 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>
2023-04-08 10:53:32 +01:00
Sandro
a72bf07453
Fix --delete description () 2023-04-07 23:20:25 +01:00
WindSoilder
b85b603a99
update str substring usage to use range parameter () 2023-04-05 08:42:14 +00:00
cyqsimon
188117dfae
Handle empty lines when importing from Bash ()
* Handle empty lines

* Fix insufficient accuracy in timestamp tests

* Use nanoseconds
2023-04-05 09:37:27 +01:00
cyqsimon
6671f72d1b
Updated client config docs ()
* Updated client config docs

- Example `config.toml` now includes all the newest options
- `settings.rs`, `config.toml`, and `config.md` now have uniform option order

* Remove trailing space
2023-04-05 09:32:26 +01:00
Ellie Huxtable
400544738b
Fix deleting history that doesn't exist yet ()
This can occur if history has been added + then deleted on a machine
before it has a chance to be synced to a new one.
2023-04-05 09:23:09 +01:00
Ellie Huxtable
f2a496848a Clarify in docs 2023-04-01 18:45:19 +01:00
Ellie Huxtable
4e4fdb9f8e
Release Atuin v14 ()
* Bump versions

* Write release notes

* add link
2023-04-01 18:17:38 +01:00
Ellie Huxtable
a515b06bcb
Vendor ratatui temporarily ()
* Vendor ratatui temporarily

Once https://github.com/tui-rs-revival/ratatui/pull/114 has been merged,
we can undo this! But otherwise we can't publish to crates.io with a git
dependency.

* make tests pass

* Shush.

* these literally just fail in nix, nowhere else

idk how to work with nix properly, and they're also not our tests
2023-03-31 22:57:37 +01:00
Patrick Jackson
3552c7e0d3
feat: add github action to test the nix builds () 2023-03-31 08:59:46 +01:00
Patrick Jackson
662f2b84fd
fix: allow nix package to fetch dependencies from git ()
This change saves us from needing to keep a copy of the checksum in atuin.nix, so that Cargo.lock can remain as the sole source of truth for the dependency versions.
2023-03-31 08:58:57 +01:00
Ellie Huxtable
0d16a113c5
Add atuin status ()
Useful for debugging, checking the state of things, and for if you
forget your username!
2023-03-30 06:45:49 +01:00
Tom Cammann
ca5e58ad01
Update atuin search docs ()
Add docs for using `--limit` and `--offset` in `atuin search`
2023-03-29 20:41:28 +01:00
Tom Cammann
fa0a1447a6
Add --offset flag to atuin search ()
This flag allows the user to continue searching at an offset. This is
useful for building tools that use atuin to search for previous
commands and return only one result.

```

atuin search --limit 1
atuin search --limit 1 --offset 1
atuin search --limit 1 --offset 2
```
2023-03-29 09:27:14 +01:00
Ch. (Chanwhi Choi)
f3a3f1c774
install.sh - add endeavouros to archlinux detection () 2023-03-29 08:25:10 +00:00
Tom Cammann
0f139044b4
Add more fields to atuin search -f formatting ()
- Add `{exit}` which returns the exit code
- Add `{relativetime}` which gives a relative time, e.g. "5h"
2023-03-28 21:06:24 +00:00
Marijan Smetko
3514ff2401
Update CI action steps () 2023-03-28 21:44:23 +01:00
Steven Xu
a41c2cc2d3
Refactor/nu remove dep on sh ()
* fix: join flags with ` `

* refactor: remove dependency on `sh`
2023-03-28 21:38:08 +01:00
Steven Xu
e9f9f9f994
fix: record negative exit codes () 2023-03-28 21:34:40 +01:00
jean-santos
caf2ddfb9f
client filtering done in query () 2023-03-27 22:33:04 +01:00
Ellie Huxtable
c64674dc23
Update CONTRIBUTING.md () 2023-03-26 18:31:12 +01:00
YummyOreo
c4e68ccbcb
fixes () 2023-03-26 18:06:19 +01:00
Ellie Huxtable
c30b457fc5
Account for user not yet having count cache ()
* Account for user not yet having count cache

* Make clippy happy
2023-03-26 17:48:41 +01:00
Ellie Huxtable
954e20fd86
Bind keys in vi mode too () 2023-03-26 16:24:09 +01:00
Conrad Ludgate
bb7f00dbef
chore: use fork of skim ()
* use fuzzy-matcher instead of skim

switch to a search-engine abstraction

* fmt

* fix deprecated warnings
2023-03-26 15:47:38 +01:00
Ellie Huxtable
4325ec4624
Update README.md 2023-03-26 15:44:31 +01:00
Steven Xu
a7cb21a51b
feat: add *Nushell* support ()
* 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-26 15:44:06 +01:00
Marijan Smetko
b911d17800
Add musl build ()
Clean up

Trigger with everything but release

Remove trigger
2023-03-25 17:59:06 +00:00
Patrick Decat
13ce5f746c
feat: add an inline view mode ()
* add inline viewport

* Add inline_height setting. Zero disables inline mode (the default)
2023-03-25 17:27:20 +00:00