[Bug]: "script run" does not work with fzf
Author: jaimep12Created Sep 23, 2026Updated Sep 23, 2026
What did you expect to happen?
That I can use fzf in scripts run in atuin.
What happened?
When I do atuin script run test-script, nothing is happening. No fzf window. When I press Enter, 1 is returned. When I press Cursor-down, script ends without error message but nothing is returned.
Here is a short test script:
VAL=$(echo 1 2 3 |xargs -n1 |fzf)
echo $VALatuin script get test-script
---
name: test-script
id: 71a4c045-6d46-4304-a5ae-70a6a7866c1f
description: ""
tags: []
shebang:
script: |
VAL=$(echo 1 2 3 |xargs -n1 |fzf)
echo $VALAtuin doctor output
{
"atuin": {
"version": "18.23.0",
"commit": "78366dca8c4941731e06a2f81c0980cc2ccc3836",
"sync": null,
"sqlite_version": "3.46.0",
"daemon_enabled": true
},
"shell": {
"name": "bash",
"default": "bash",
"plugins": [
"atuin",
"blesh",
"bash-preexec"
],
"preexec": "blesh-0.4.0-devel4+d81fd54"
},
"system": {
"os": "Fedora Linux",
"arch": "x86_64",
"version": "44",
"disks": [
{
"name": "/dev/mapper/rootvg-root",
"filesystem": "xfs"
},
{
"name": "/dev/sdb1",
"filesystem": "xfs"
},
{
"name": "/dev/sda1",
"filesystem": "xfs"
}
]
}
}Code of Conduct
- I agree to follow this project's Code of Conduct
Source: atuinsh/atuin