You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Atuin Hex is an experimental lightweight PTY proxy, providing new features without needing to replace your existing terminal or shell. Atuin Hex currently supports bash, zsh, fish, and nu.
4
+
5
+
## TUI Rendering
6
+
7
+
The search TUI exposes a tradeoff: the UI is either in fullscreen alt-screen mode that takes over your terminal, or inline mode that clears your previous output. Neither is great.
8
+
9
+
With Hex, we can have our cake AND eat it too. The Atuin popup renders over the top of your previous output, but when it's closed we can restore the output successfully.
10
+
11
+
## Initialization
12
+
13
+
Atuin Hex needs to be initialized separately from your existing Atuin config. Place the init line shown below in your shell's init script, as high in the document as possible, *before* your normal `atuin init` call.
14
+
15
+
=== "zsh"
16
+
17
+
```shell
18
+
eval "$(atuin hex init zsh)"
19
+
```
20
+
21
+
=== "bash"
22
+
23
+
```shell
24
+
eval "$(atuin hex init bash)"
25
+
```
26
+
27
+
=== "fish"
28
+
29
+
Add
30
+
31
+
```shell
32
+
atuin hex init fish | source
33
+
```
34
+
35
+
to your `is-interactive` block in your `~/.config/fish/config.fish` file
36
+
37
+
=== "Nushell"
38
+
39
+
Run in *Nushell*:
40
+
41
+
```shell
42
+
mkdir ~/.local/share/atuin/
43
+
atuin hex init nu | save -f ~/.local/share/atuin/hex-init.nu
44
+
```
45
+
46
+
Add to `config.nu`, **before** the regular `atuin init`:
47
+
48
+
```shell
49
+
source ~/.local/share/atuin/hex-init.nu
50
+
```
51
+
Nushell's `source` command requires a static file path, so you must
52
+
pre-generate the file.
53
+
54
+
---
55
+
56
+
If the `atuin` binary is not in your `PATH` by default, you should initialize Hex as soon as it is set. For example, for a bash user with Atuin installed in `~/.atuin/bin/atuin`, a config file might look like this:
0 commit comments