Tab not working to edit command

I’ve just started using Atuin, and I’ve immediately run into an issue where hitting tab doesn’t give me the command to edit, it just drops me back to an empty command line. I’m using bash and don’t have anything particularly complicated going on, and I just installed Atuin and haven’t done any customization.

My atuin doctor output:

atuin:
  version: 18.2.0
  sync:
    cloud: true
    records: true
    auto_sync: true
    last_sync: 2024-05-08 7:24:53.650697 +00:00:00
shell:
  name: bash
  default: bash
  plugins:
  - atuin
  - bash-preexec
system:
  os: Darwin
  arch: arm64
  version: 14.4.1
  disks:
  - name: Macintosh HD
    filesystem: apfs
  - name: Macintosh HD
    filesystem: apfs

Any ideas?

I have this same issue.

atuin:
  version: 18.2.0
  sync:
    cloud: false
    records: true
    auto_sync: true
    last_sync: 2024-05-12 5:09:19.268343 +00:00:00
shell:
  name: bash
  default: bash
  plugins:
  - atuin
  - bash-preexec
system:
  os: Darwin
  arch: arm64
  version: 14.4.1
  disks:
  - name: Macintosh HD
    filesystem: apfs
  - name: Macintosh HD
    filesystem: apfs

Hey! I see you’re both using bash on macos. I’d generally suggest using zsh, as it supports shell plugins more effectively than bash does. For one, shell hooks are native in zsh and don’t require the prompt hacks that bash does. This isn’t specific to atuin, but in general.

Otherwise, what version of bash? /bin/bash on mac is 3.2, which is very old - homebrew has 5.2, which should have far fewer problems

@ellie Turns out upgrading Bash did the trick for me, thanks.

1 Like

I’m using bash with starship.rs on macos, and I’m having this issue as well.

❯ bash --version
GNU bash, version 5.2.26(1)-release (aarch64-apple-darwin23.2.0)

Any ideas what is causing it?

edit: anyway, switching to /bin/zsh with chsh and putting the starship and atuin stuff in .zshrc works so I guess I’ll use that instead for now.