Commit Graph

693 Commits

Author SHA1 Message Date
a57baffa91 fix(fish): improve output for enter_accept (#1341)
Fixes 2 issues with the fish shell prompt when using `enter_accept`
1. Runs pre/post exec so the command is added to the atuin history.
2. Adds padding so that the repainting of the shell prompt doesn't overwrite the output.

This adds 2 lines of padding to account for prompts up to 2 lines tall, larger prompts will still cause repainting problems and smaller prompts will be getting an extra line.
2023-10-27 08:45:36 +01:00
4096bb8d17 update support template (#1340) 2023-10-26 20:35:30 +01:00
6bf35071dd Remove duplicate "invert" in default config (#1338) 2023-10-26 17:32:00 +00:00
5ca346b40c Silence fish string match (#1336)
Oops. `string match` is a bit too noisy, make it quiet. Also print the
match before executing it.

Resolve #1335
2023-10-26 18:29:25 +01:00
b7adf1d797 Fix cargo deb usage (#1337)
v2.0.0 of cargo deb added the revision number. I'd rather not change the
output name of our file, so force cargo-deb to stick to the "old"
behaviour
2023-10-26 16:13:54 +01:00
eec750f049 Add release blog post and update docs (#1332)
* Add release blog post and update docs

* I forgot I moved the blog lmao

* Fix images
2023-10-26 09:13:05 +01:00
1a20afe245 fix(nu): disable the up-arrow keybinding for Nushell (#1329) v17.0.0 2023-10-26 07:42:46 +01:00
ce4573c5ee Fix deleted history count (#1328) 2023-10-25 20:54:20 +01:00
0b22d06ad3 Prepare release v17.0.0 (#1327) 2023-10-25 18:06:59 +00:00
e5fae4dd76 Correct some secrets filter regex (#1326) 2023-10-25 18:31:28 +01:00
9f25ce581a Revert "Revert "Revert "Use github runners for unit tests (for now) (#1279)" (#1294)" (#1295)" (#1325)
This reverts commit 089cb6847c.
2023-10-25 09:25:43 +01:00
b74ed756e2 fix(nushell): Ignore stderr messages (#1320) 2023-10-23 21:35:01 +01:00
7a914221a7 Document that the self-hosted port is TCP (#1317) 2023-10-21 15:01:00 +00:00
08a01e037c Add bash support to enter_accept (#1316) 2023-10-21 12:34:23 +01:00
d202afeaf5 allow binding server to hostname (#1318) 2023-10-21 12:30:56 +01:00
2f9df9350d Add fish support for enter_accept (#1315)
* Add fish support for `enter_accept`

Also fixes shell detection. Who trusted me to write jetlagged code last
night huh?

* Document
2023-10-20 07:57:29 +01:00
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
ad4868567e Checkout repo so the manifest publish step can read git (#1314) 2023-10-19 22:21:24 +01:00
62994ca264 use the short sha to tag images (#1313) 2023-10-19 22:07:24 +01:00
fef5986e9a Use ubuntu for x86, oops 2023-10-19 21:45:58 +01:00
ce114b1f37 Fix events 2023-10-19 21:41:14 +01:00
5a353d5ed1 Switch to Actuated for docker builds (#1312) 2023-10-19 21:39:40 +01:00
427d4bd873 Delete CHANGELOG.md
We don't generally keep this up to date. With the release page, and the blog, I'm not sure a third place makes sense.
2023-10-17 20:04:57 -07:00
37a90b83d0 Bump @babel/traverse from 7.21.2 to 7.23.2 in /docs (#1309)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:51:24 -07:00
cfd7032d84 Bump lukemathwalker/cargo-chef (#1297)
Bumps lukemathwalker/cargo-chef from latest-rust-1.72.0-buster to latest-rust-1.73.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>
2023-10-17 15:39:55 -07:00
ad6cae4dac Bump semver from 1.0.18 to 1.0.20 (#1299)
Bumps [semver](https://github.com/dtolnay/semver) from 1.0.18 to 1.0.20.
- [Release notes](https://github.com/dtolnay/semver/releases)
- [Commits](https://github.com/dtolnay/semver/compare/1.0.18...1.0.20)

---
updated-dependencies:
- dependency-name: semver
  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>
2023-10-17 15:39:47 -07:00
8f95d63e4b Bump debian from bullseye-20230919-slim to bullseye-20231009-slim (#1304)
Bumps debian from bullseye-20230919-slim to bullseye-20231009-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>
2023-10-17 15:39:37 -07:00
2da525d7c0 Update key binding docs 2023-10-14 19:39:13 -07:00
20afcd2b63 Add commands to print the default configuration (#1241)
* Add commands to print the default configuration

When updating a software I often want to compare my configuration with the
configuration of the new version. To make this possible atuin can now print
the default configuration.
This also updates the example files with the actual values used as default in
the settings.rs files.

* Changed command name to 'default-config'

* Fixed merge
2023-10-12 22:13:50 +01:00
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
089cb6847c Revert "Revert "Use github runners for unit tests (for now) (#1279)" (#1294)" (#1295)
This reverts commit 1054113469.
2023-10-08 11:50:30 -07:00
1054113469 Revert "Use github runners for unit tests (for now) (#1279)" (#1294)
This reverts commit 0abbcd6941.
2023-10-08 11:23:36 -07:00
38172f3501 clear history id (#1263)
* clear history id

* fix nu
2023-10-08 16:15:14 +00:00
1735be05d7 fix(1220): Workspace Filtermode not handled in skim engine (#1273)
* fix(1220): Workspace Filtermode not handled in skim engine

* fix: review suggestion accepted
2023-10-05 15:54:54 +00:00
f25681d8b1 Fix/1207 deleted entries shown in interactive search (#1272) 2023-10-04 18:13:29 +00:00
573ff69749 A man is not dead while his name is still spoken (#1280) 2023-10-03 19:36:16 +00:00
6f803b548b Add --print0 to history list (#1274)
* Add --print0 to `history list`

* Allow too many bools in the handle_list

Gotta pacify clippy; I'm not sure how we'd do this without it!
2023-10-02 22:31:40 -07:00
0abbcd6941 Use github runners for unit tests (for now) (#1279)
My self hosted runner is much faster, but my house was hit by lightning
and the internet is down. I'm a few thousand miles away atm so won't be
able to sort it for a while.

Tests broken by _nature_.
2023-10-02 22:31:16 -07:00
f539580f0e Revert "Re-enable linux/arm64 platform in CI docker build (#1276)" (#1278)
This reverts commit ab8a48b2e0.
2023-10-02 21:41:51 -07:00
ab8a48b2e0 Re-enable linux/arm64 platform in CI docker build (#1276)
This was previously enabled in #616 and then reverted in #730.
2023-10-02 20:32:32 -07:00
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
b4428c27c6 support timezones in calendar (#1259) 2023-09-29 17:49:38 +01:00
a195c389b6 handle empty keybindings list for nushell (#1270)
fixes #1189

Co-authored-by: Daniel Carosone <dan@geek.com.au>
2023-09-29 16:06:24 +00:00
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
865f0e65f1 Fix support template 2023-09-28 19:37:28 -07:00
7067d772bc fix sync timestamps (#1258)
* fix timestamp

* add sync test

* skip all sync tests
2023-09-28 18:56:40 -07:00
71fd31ed4f Update support.yml (#1268) 2023-09-28 18:40:24 -07:00
52e1389ca0 Update support.yml 2023-09-28 18:37:28 -07:00
ffc24c3c29 Add support template (#1267) 2023-09-28 18:35:58 -07:00
33f009efad Correct issue templates 2023-09-28 18:12:59 -07:00