Yuvi Panda
c02934d184
Implement 'quick access' via Alt-<n> ( #79 )
...
* Implement 'quick access' via numbers
Puts numbers 0-9 next to commands *above* current selection.
Ctrl-<number> should activate them - but since Ctrl-<num> are
reserved by terminal, this does not currently work. Need to
find different sets of keyboard shortcuts.
Numbers are *above* current selection, since the user must use
the arrow keys to go over the commands below current selection
before reaching selection.
* Use Alt+<n> to select last nth command
* Don't print Opt+0
Same as <Enter>
* Run rustfmt
* Simplify code
- Use ? operator for getting selected item
- Use RangeInclusive to check if character pressed is a number
2021-05-10 12:55:29 +01:00
Yuvi Panda
f0463326fa
Use format! instead of string concat ( #94 )
...
Cleaner
2021-05-09 22:33:57 +01:00
Ellie Huxtable
c16a26cdbf
Fix sync ( #95 )
...
The data part of the add history request is actually a string. I don't
want to introduce any structure here, and would rather keep it as "just
a blob". Even if that blob has structure secretly!
My fault for missing this in the last review
2021-05-09 22:31:11 +01:00
Conrad Ludgate
de2e34ac50
some changes 🤷 ( #83 )
...
* make everything a cow
* fmt + clippy
2021-05-09 21:17:24 +01:00
Ellie Huxtable
e43e5ce74a
Add logout, only login if not already logged in ( #91 )
...
Also:
- Ensures that a key is generated as soon as a user registers!
- Ensures that "atuin key" will generate a key if needed, and doesn't
double base64 encode data
And a few other little fixes :)
Resolves #85
Resolves #86
2021-05-09 20:11:17 +01:00
Jamie Quigley
af707ac5a4
Fix resh importer crashing on end of file ( #92 )
2021-05-09 19:09:09 +00:00
Will Fancher
623df9064e
Add Emacs style ctrl-g, ctrl-n, and ctrl-p ( #77 )
2021-05-09 18:43:55 +00:00
Conrad Ludgate
4b9ff801a6
fix some bugs ( #90 )
...
* fix some bugs
* format
2021-05-09 19:12:41 +01:00
Ellie Huxtable
bd4db1fa03
Allow listing or searching with only the command as output ( #89 )
...
Should be useful for using other tools, such as FZF
2021-05-09 18:01:21 +00:00
Ellie Huxtable
d39e3cb479
Fix bash integration to set the session ( #88 )
2021-05-09 18:47:41 +01:00
Conrad Ludgate
090120a834
Generic Importer Trait ( #71 )
...
* initial importer trait
* appease linters
* improve file handling. fixes #66
* use size hint
* format + comment
* update serde rename mess
* tested 😎 🚀
* small formatting
2021-05-09 18:34:15 +01:00
Jamie Quigley
725ea9b16b
Fix resh importer, and change error handling method ( #82 )
2021-05-09 15:20:39 +01:00
Yuvi Panda
c69f6ee3f9
Run shellcheck on bash file ( #81 )
...
Ref #64
2021-05-09 13:12:09 +01:00
Yuvi Panda
a04865d9d8
Use an enum for dialect ( #80 )
2021-05-09 11:39:39 +01:00
Yuvi Panda
19bd00f620
Support fulltext search of commands ( #75 )
2021-05-09 08:33:56 +01:00
Ellie Huxtable
07c5461013
Retain the query entered into the TUI ( #76 )
...
If no results are found, and the user presses enter, keep the query!
Resolves #73
2021-05-08 22:10:40 +01:00
Jamie Quigley
bb086808b1
Add importer for resh_history file ( #69 )
...
* Added resh history importer
* Silence trivial clippy warnings for the PR CI
2021-05-08 17:29:46 +01:00
Ellie Huxtable
56b75bc7bf
Add homebrew install instructions
2021-05-08 15:06:40 +01:00
Jamie Quigley
2e5f16a6a3
Add Ctrl-d as a way of exiting the TUI ( #65 )
2021-05-08 14:04:33 +00:00
Ellie Huxtable
220e2d05e3
Put cargo install in the right place ( #63 )
...
Resolves #61
2021-05-08 14:30:41 +01:00
Ellie Huxtable
8bd4d12cfa
Add ATUIN_NOBIND ( #62 )
...
* Add ATUIN_NOBIND
* Update docs/key-binding.md
`<kbd>`, what magic
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
2021-05-08 14:17:22 +01:00
avinassh
035bf9a99b
Add a newline when editing shell rc files ( #60 )
...
* Add a newline when editing shell rc files
* Update install.sh
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
* Update install.sh
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
2021-05-08 12:57:27 +00:00
dependabot[bot]
7c87624d8a
Bump indicatif from 0.15.0 to 0.16.0 ( #45 )
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 09:58:25 +01:00
dependabot[bot]
b35db2c4e1
Bump tui from 0.14.0 to 0.15.0 ( #44 )
...
Bumps [tui](https://github.com/fdehau/tui-rs ) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/fdehau/tui-rs/releases )
- [Changelog](https://github.com/fdehau/tui-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fdehau/tui-rs/compare/v0.14.0...v0.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 09:45:11 +01:00
dependabot[bot]
d7a47d39a7
Bump cli-table from 0.4.5 to 0.4.6 ( #43 )
2021-05-08 07:49:21 +00:00
dependabot[bot]
11323446eb
Bump directories from 3.0.1 to 3.0.2 ( #41 )
...
Bumps [directories](https://github.com/soc/directories-rs ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/soc/directories-rs/releases )
- [Commits](https://github.com/soc/directories-rs/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 08:37:26 +01:00
Ellie Huxtable
99f26ff383
Allow using Ctrl-c to exit ( #53 )
2021-05-08 00:02:39 +01:00
Conrad Ludgate
086f4cc27c
cache builds ( #49 )
...
* cache builds
* improve cache steps
* un-restrict target cache
* remove release cache
2021-05-07 20:28:16 +00:00
Conrad Ludgate
1c59f85ea8
remove dyn Reply ( #48 )
...
* cleanup reply types
* cleanup error api
* small update
* improve api some more
* fmt
2021-05-07 21:06:56 +01:00
Ian Smith
e2edcbf994
Fix ubuntu install ( #46 )
...
The filename for the deb is versioned like '0.6.4', not 'v0.6.4'.
2021-05-07 19:06:43 +01:00
Ellie Huxtable
cbb472bba6
Update README and docs
2021-05-07 16:59:12 +01:00
Ellie Huxtable
6cc5006b10
Update install.sh
...
😳 oops
2021-04-27 18:42:16 +01:00
Ellie Huxtable
c11865f589
Update install.sh
2021-04-27 18:34:30 +01:00
Ellie Huxtable
04b2a1bd7b
Update install.sh
2021-04-27 18:33:06 +01:00
Ellie Huxtable
a503fa8b7d
Update README.md
2021-04-27 18:32:44 +01:00
Ellie Huxtable
4df77c5201
Release v0.6.4
...
- Fix version
- Only build for two targets
2021-04-26 18:36:19 +01:00
Ellie Huxtable
9356736ca1
Release v0.6.3
...
First proper release!
- Update install script
- Correct dependencies
- Update workflow release script
2021-04-26 18:04:56 +01:00
Ellie Huxtable
e4eead8263
Update dependencies properly
2021-04-26 16:13:32 +01:00
Ellie Huxtable
dcd658d2e9
Update readme
2021-04-26 15:48:42 +01:00
Ellie Huxtable
5a2b721ceb
Update install
2021-04-26 15:46:47 +01:00
Ellie Huxtable
dea97decdc
Update README.md
2021-04-26 15:45:32 +01:00
Ellie Huxtable
0610ae197f
Pre release polishing ( #42 )
...
* Improve readme
* Add demo gif
* Update readme
* Add mac build
* Amend release config
* Update gif
2021-04-26 13:25:57 +00:00
Ellie Huxtable
646fec893e
Fix pipeline
...
Lol no more committing to main for me
2021-04-26 12:05:20 +01:00
Ellie Huxtable
2dd703d7be
Amend readme
2021-04-26 11:59:00 +01:00
Ellie Huxtable
7b5c3d543d
Support bash, resolves #3
2021-04-26 11:57:30 +01:00
Ellie Huxtable
4f16e8411e
Revert to storing history as nanos
2021-04-25 21:27:51 +01:00
Ellie Huxtable
156893d774
Update docs, unify on SQLx, bugfixes ( #40 )
...
* 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-25 17:21:52 +00:00
Ellie Huxtable
4210e8de5a
Add to Cargo.toml
2021-04-21 21:32:21 +01:00
Ellie Huxtable
d63b0110ea
Bump to 0.6.1
...
Includes latest bugfixes and performance improvements
atuin@0.6.1
atuin-client@0.6.1
atuin-common@0.6.1
atuin-server@0.6.1
2021-04-21 21:28:10 +01:00
Ellie Huxtable
4a50ce3666
Bugfixes, show time ago, perf improvements
...
Also allow unique listing and more ergonomic cwd usage
2021-04-21 21:26:44 +01:00