[Bug]: When daemon is enabled but not running, history is not saved
area:ui
### What did you expect to happen?
Atuin either fails (prints an error) or saves history without using the daemon.
### What happened?
No warnings or errors. History is silently discarded.
### Atuin doctor output
```yaml
Atuin Doctor
Checking for diagnostics
Please include the output below with any bug reports or issues
{
"atuin": {
"version": "18.19.0-beta.3",
"commit": "91405c47f679e2830484ed4c6fd23e9f12949c04",
"sync": null,
"sqlite_version": "3.53.4",
"daemon_enabled": true
},
"shell": {
"name": "zsh",
"default": "zsh",
"plugins": [
"atuin"
],
"preexec": "built-in"
},
"system": {
"os": "Arch Linux",
"arch": "x86_64",
"version": "unknown",
"disks": [
{
"name": "/dev/mapper/ssd",
"filesystem": "btrfs"
},
{
"name": "overlay",
"filesystem": "overlay"
},
{
"name": "/dev/mapper/ssd",
"filesystem": "btrfs"
}
]
}
}
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
0 条评论