Commit Graph

804 Commits

Author SHA1 Message Date
Ellie Huxtable
e980973ba0 Satisfy clippy 2021-02-15 21:36:07 +00:00
Ellie Huxtable
ba086f909d Allow listing by current directory and/or session 2021-02-15 21:30:19 +00:00
Ellie Huxtable
c0633371b1 Change description 2021-02-15 20:33:39 +00:00
Ellie Huxtable
48198cdfe9 Fix import message 2021-02-15 20:33:39 +00:00
Conrad Ludgate
68c5ca9ece
use database trait instead of sqlite impl (#10)
small improvements
2021-02-15 09:07:49 +00:00
Ellie Huxtable
80815d9eea
Update README.md 2021-02-14 23:33:14 +00:00
Ellie Huxtable
26bf61ff67
Update README.md 2021-02-14 22:47:22 +00:00
Ellie Huxtable
b10d302e57 Bump version 2021-02-14 22:33:22 +00:00
Ellie Huxtable
06afd6065f Bump version 2021-02-14 22:18:08 +00:00
Ellie Huxtable
851285225f
Add stats command (#9)
* 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-14 22:12:35 +00:00
Conrad Ludgate
6636f5878a
zsh bin is sometimes /usr/bin/zsh or might be elsewhere too (#8)
zsh also uses ~/.zsh_history

get better errors for not found history file
2021-02-14 18:40:51 +00:00
Ellie Huxtable
ea020f1b82 Specify nightly 2021-02-14 18:20:18 +00:00
Ellie Huxtable
8a5d82e820 Correct clippy usage 2021-02-14 18:16:53 +00:00
Ellie Huxtable
0cfa59a313 Do not allow warnings 2021-02-14 18:14:34 +00:00
Ellie Huxtable
3323b3079a Add test for extended parsing 2021-02-14 18:10:56 +00:00
Conrad Ludgate
bae59474ee
a few more tiny touch ups (#7)
* a few more tiny touch ups

* all praise clippy
2021-02-14 18:00:41 +00:00
Conrad Ludgate
72c5ea7914
tidy some stuff (#6) 2021-02-14 17:18:02 +00:00
Ellie Huxtable
8af0034ae0
Neaten the history listing code (#5)
I'd like to reduce the amount of SQL in the database code. Make it as
generic as possible, and later on perhaps expose a generic "execute"
function.

This function can be used by analysis commands, and the SQL can live
there - rather than database.rs being a huge bag of SQL.
2021-02-14 16:53:18 +00:00
Ellie Huxtable
46b5dc3761
Update README.md 2021-02-14 16:23:08 +00:00
Ellie Huxtable
a221fd083b
Create LICENSE 2021-02-14 16:22:25 +00:00
Ellie Huxtable
e5fd46adfa Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
f3b0006754 Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
6cd7ca9602 Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
7bd8e73c70 Create rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
660edfefed Make pedantic clippy happy 2021-02-14 15:35:08 +00:00
Ellie Huxtable
d128297e67 Make clippy annoying asf + add server 2021-02-14 13:28:01 +00:00
Ellie Huxtable
4fbd43dfe1 Update readme 2021-02-13 23:22:58 +00:00
Ellie Huxtable
8697aceb72 Fix clippy issues 2021-02-13 23:20:16 +00:00
Ellie Huxtable
f0b94d5bbd
Update README.md 2021-02-13 23:06:59 +00:00
Ellie Huxtable
cafb28d82b Amend 2021-02-13 23:02:17 +00:00
Ellie Huxtable
e7d234e305 Remove panic 2021-02-13 22:58:31 +00:00
Ellie Huxtable
b85cb770d3 Update widget 2021-02-13 22:29:25 +00:00
Ellie Huxtable
d8aacb4a80 Add fuzzy history search and distinct arg 2021-02-13 22:06:27 +00:00
Ellie Huxtable
3e7af55a9c Update readme 2021-02-13 21:21:00 +00:00
Ellie Huxtable
a7263edbc9 Rename zsh hook 2021-02-13 21:11:08 +00:00
Ellie Huxtable
fbaeedbba4 Minor fixes 2021-02-13 20:55:06 +00:00
Ellie Huxtable
ccdaa21fc6 Add session to hook 2021-02-13 20:48:40 +00:00
Ellie Huxtable
440c4fc233 Add sessions 2021-02-13 20:24:22 +00:00
Ellie Huxtable
099afe66ec Implement history import 2021-02-13 19:37:31 +00:00
Ellie Huxtable
7e60ace610 Record command exit code and duration 2021-02-13 17:02:52 +00:00
Ellie Huxtable
50ebe68d9f Begin import 2021-02-13 13:20:39 +00:00
Ellie Huxtable
07aceb3dd4 Rename 2021-02-13 12:58:40 +00:00
Ellie Huxtable
e3661daf81
Update README.md 2021-02-13 12:55:53 +00:00
Ellie Huxtable
9917d6c1e2 Fix merge
...I forgot to push. oops.
2020-10-05 20:38:34 +01:00
Ellie Huxtable
46285309fe
Merge pull request #2 from conradludgate/main
feat: use directories project data dir
2020-10-05 19:25:34 +01:00
Conrad Ludgate
7dd2d02238
fix: help text 2020-10-05 17:34:28 +01:00
Conrad Ludgate
28287a6303
feat: use directories project data dir
chore: clean up some things
2020-10-05 17:20:48 +01:00
Ellie Huxtable
9232ac27ce
Merge pull request #1 from conradludgate/main
chore: use structopt wrapper instead of building clap by hand
2020-10-05 11:57:09 +01:00
Conrad Ludgate
34038f6aaa
chore: use structopt wrapper instead of building clap by hand 2020-10-05 11:52:03 +01:00
Ellie Huxtable
4783b77a6a Use bundled sqlite 2020-10-05 01:13:27 +01:00