Commit graph

52 commits

Author SHA1 Message Date
Ellie Huxtable
88f3e2a04f
Add enter_accept to immediately execute an accepted command (#1311)
* make enter execute the command, tab copy it

* Add config for enter_accept

enter_accept will make Atuin immediately accept an execute a command
when selected. It defaults to false in our binary, but the default
config enables it.

This means that users who already use atuin will not default to the new
behaviour unless they opt in, but new users will have it by default.

Thanks to @davidhewitt for the patch and bulk of this implementation!
Currently we have it just for zsh, but I'll follow up with other shells
(unless anyone beats me to it :D)

* Add docs

* we need to tidy up the ui code anyway

* Check if using zsh

* Update docs/docs/config/config.md

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

---------

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-10-20 07:16:54 +01:00
Ellie Huxtable
2da525d7c0 Update key binding docs 2023-10-14 19:39:13 -07:00
Evan McBeth
14bef9c4a4
Update key-binding.md (#1291)
added some info about FISH and how to bind the CTRL-up keyset.
2023-10-09 13:37:14 +00:00
Dieter Eickstaedt
f25681d8b1
Fix/1207 deleted entries shown in interactive search (#1272) 2023-10-04 18:13:29 +00:00
YummyOreo
da2221a87f
feat: copy to clipboard (#1249)
* feat: adds clipboard as a dep

* feat: add copy if you press ctl+y

* docs: add copy to clipboard to docs
2023-09-30 01:04:26 +00:00
Chandra Kiran G
504400673f
add --reverse to history list (#1252)
* wip: add --reverse to history list

* fix: remove print_list being called twice when reverse=true

* chore: update documentation

* feat: Avoid unneeded reverse by iterate forward or backward instead

* feat: Make sure to only iterate once and avoid unneeded reverse call

* feat: It used to be reverse by default. So make it default true here to be backwards compatible

* fix clap

---------

Co-authored-by: Dieter Eickstädt <eickstaedt@deicon.de>
2023-09-29 14:23:09 +01:00
Ellie Huxtable
351b3e8a57
Add connect timeout and overall timeout (#1238)
* Add connect timeout and overall timeout

* Make it configurable

* Fix test

* Add docs
2023-09-18 08:39:19 +01:00
Dieter Eickstaedt
ebef5cdaf0
feat(keyup): Configure SearchMode for KeyUp invocation #1216 (#1224)
* feat(keyup): Configure SearchMode for KeyUp invocation #1216

* docs: adjusted search mode documentation

* feat: setting search mode on engine

* chore: cargo fmt

* chore: removed redundant field name
2023-09-17 19:30:13 +01:00
Matheus Martins
c091f2f95a
config.md: invert mode detailed options (#1225) 2023-09-14 21:04:29 +00:00
Ellie Huxtable
6d3b14b123
Update docker.md 2023-09-01 15:21:06 +01:00
Ellie Huxtable
340b9d8a2b
Update shell-completions.md 2023-08-30 22:25:02 +01:00
Ellie Huxtable
64c1054765
Update config.md 2023-08-28 23:22:49 +01:00
Ellie Huxtable
73bd8015c3
Automatically filter out secrets (#1182)
I'd like to extend the regex list here very soon, but start off by
automatically filtering out secrets. Do not store them in history!

I've included regex for:

1. AWS key id
2. Github pat (old and new)
3. Slack oauth tokens (bot, user)
4. Slack webhooks
5. Stripe live/test keys

Will need updating after #806
2023-08-19 12:28:39 +01:00
Thomas Buckley-Houston
243557cb7b
docs: update workspace config key to workspaces (#1174) 2023-08-17 20:38:13 +00:00
Emanuele Panzeri
8080a172af
Update(docs) Add workspace to config.toml and config.md (#1157) 2023-08-09 23:06:27 +01:00
LeoniePhiline
2b1d39e270
fix(docs): Correct command overview paths (#1145) 2023-08-02 22:09:51 +00:00
LeoniePhiline
a9a1d0d398
fix(docs): List all presently documented commands (#1140) 2023-08-01 20:38:17 +00:00
Richard Jones
d7f8929656
Add support for max_preview_height setting (#1088) 2023-07-31 18:36:58 +01:00
Ellie Huxtable
1fb7caa2d6
Move all references to the old repo (#1132)
The repo now lives on an org! Move all references to the old path.
2023-07-30 23:08:00 +01:00
Richard Turner
c0449955e3
use Ctrl-n instead of Alt-n on macOS (#1106)
* use Ctrl-n instead of Alt-n on macOS

* make ctrl-n instead of alt-n configurable
2023-07-27 08:10:40 +00:00
Ellie Huxtable
a184afeecd
Tidy up docs (#1120) 2023-07-26 09:47:45 +01:00
JT
eb5e1c213c
update nushell env update syntax (#1080) 2023-06-30 18:30:36 +00:00
Ellie Huxtable
ef88444f21
Update key-binding.md 2023-06-27 20:18:29 +01:00
Ethan Brierley
0ca72ee01a
Update nu section in key-bindings.md - set-env -> let-env (#1074)
I don't think `set-env` exists 🤔 

```
❯ : set-env ATUIN_NOBIND = true
Error: nu:🐚:external_command

  × External command failed
   ╭─[entry #6:1:1]
 1 │ set-env ATUIN_NOBIND = true
   · ───┬───
   ·    ╰── did you mean 'let-env'?
   ╰────
  help: No such file or directory (os error 2)
```
2023-06-26 08:27:24 +01:00
Ellie Huxtable
190c468388
Move key binding docs so they can be more easily found (#1067)
* Move key binding docs so they can be more easily found

* Redirect
2023-06-21 09:28:45 +01:00
Ellie Huxtable
395aa81c2a
Revamp getting started guide (#1065)
We were lacking some docs here really. Walk new users through getting
installed and signed up!

Coming next

- Common config (how to disable the up arrow lol)
- Troubleshooting
- Community config/integrations
2023-06-21 09:14:55 +01:00
Maxim Burgerhout
73b006fe2b
Make requirement of PostgreSQL 14 explicit (#1048) 2023-06-13 07:52:53 +00:00
Anish Pallati
f499ae84ed
fix: Adjust broken link to supported shells (#1013) 2023-05-30 20:34:42 +01:00
Ed Ive
e695693d83
Make volume path absolute (#1009)
* Make volume path absolute

* Update docs/docs/self-hosting/docker.md
2023-05-27 16:27:42 +00:00
Hilmar Wiegand
d21b691bcf
Add option to completely disable help row (#993)
* Add option to completely disable help row

* Pass full settings object to draw command

* Add documentation for show_help
2023-05-22 11:10:11 +00:00
Ellie Huxtable
ca263834e9
Restructure account commands to account subcommand (#984)
* Stop running triggers on history delete

* Move to account management dir

* Alter trigger function to only run for inserts

* wip

* Add atuin account subcommands, and re-org delete

* Clarify docs

* Delete silly dupe migration

* Um where did this come from

* Oops, insert only plz
2023-05-17 21:28:37 +01:00
Conrad Ludgate
7d5a82df14
validate usernames on registration (#982)
improve login password incorrect error message

update docs for registration with passwords
2023-05-16 22:03:53 +01:00
Yannick Ulrich
7b9dea72e3
feat: add delete account option (attempt 2) (#980)
* Added DELETE register endpoint

* Added remove function to database

* Added unregister to client

* Updated docs

* Renamed functions

* Reformatting

* Used execute instead of fetch in delete_user
2023-05-16 22:00:59 +01:00
Ellie Huxtable
dc523416f6
Include bash preexec warning (#983) 2023-05-16 21:58:05 +01:00
Steve Kemp
fab5412e84
Correct typos in website (#946)
This commit fixes the spelling of "variables" in a couple of places.
2023-05-07 08:15:22 +00:00
Richard de Boer
a38fc6e898
docs: fix "From source" cd command (#937)
Cloning does not automatically cd to the new directory,
and we need to cd to "atuin" *inside* the cloned repository.
2023-05-06 14:35:24 +00:00
VuiMuich
5a0e63370a
Add command flag for inline_height (#905)
* add a command flag for `inline_height`

* docs

* docs: better formating for short command flags
2023-05-02 09:00:52 +01:00
VuiMuich
e222b59812
add nu section to keybind docs (#881) 2023-05-02 02:52:33 +00:00
Maxim Uvarov
7cc893d67d
Add keyboard shortcuts to the Config/Keybinding chapter. (#875)
* 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
Ellie Huxtable
d5515f5bcd
Avoid accidentally deleting all history, but allow it if intended (#878)
* Avoid accidentally deleting all history, but allow it if intended

* docs
2023-04-15 10:24:59 +01:00
Brian Kung
301296fae5
Add additional detail to search documentation (#860) 2023-04-11 11:25:02 +01:00
Tom Cammann
e149a0a6e9
Add --reverse to atuin search (#862)
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
cyqsimon
6671f72d1b
Updated client config docs (#839)
* 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
4e4fdb9f8e
Release Atuin v14 (#836)
* Bump versions

* Write release notes

* add link
2023-04-01 18:17:38 +01:00
Tom Cammann
ca5e58ad01
Update atuin search docs (#828)
Add docs for using `--limit` and `--offset` in `atuin search`
2023-03-29 20:41:28 +01:00
Nico Kokonas
529793fbcb
fix: many wins were broken 📝 (#789) 2023-03-19 10:51:05 +00:00
onkelT2
afd1113b3b
Minor documentation updates (#767) 2023-03-08 20:20:39 +00:00
Maurice Escher
f3bc646f24
[docs] fix some links between config and commands (#733) 2023-02-27 08:12:00 +00:00
Alpha Chen
df9b3b0541
Fix link to self-hosting (#731) 2023-02-27 07:12:26 +00:00
Ellie Huxtable
fe5f728aa6
Release v13 (#727)
* Write release blog post

* Bump versions

* Update contributors
2023-02-26 21:22:29 +00:00