Local history count 0, Ble.sh and Atuin sourced on .bashrc

Hi, all, this is my first post (on Atuin and regarding Linux software in general). I looked for similar posts and instructions on properly asking for help here but didn’t find much other than double-checking the install instructions and providing a .bashrc file and maybe the output for “$ atuin doctor” for examination. On to the problem.

I can bring up Atuin’s local history (not using sync or any server) with Ctrl-r on my terminal but it’s always empty. I’m running Arch Linux, KDE environment, installed ble.sh and Atuin with Pacman a couple days ago. I took notice of ble.sh being preferred over bash-preexec, and that I should load both plugins to my ~/.bashrc:

#start of file
#enable ble.sh, required to support Atuin
[[ $- == *i* ]] && source /usr/share/blesh/ble.sh --noattach

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

[[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh

##enable Atuin
eval "$(atuin init bash --disable-up-arrow)"

[[ ! ${BLE_VERSION-} ]] || ble-attach
#end of file

And the output of “atuin doctor”:

Atuin Doctor
Checking for diagnostics

[Shell] If you are using Bash, Atuin requires that either bash-preexec or ble.sh be installed. An older ble.sh may not be detected. so ignore this if you have it set up! Read more here: https://docs.atuin.sh/guide/installation/#bash

Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.6.1",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "bash",
    "default": "bash",
    "plugins": [
      "atuin"
    ],
    "preexec": "none"
  },
  "system": {
    "os": "Arch Linux",
    "arch": "x86_64",
    "version": "rolling",
    "disks": [
      {
        "name": "/dev/nvme0n1p2",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      },
      {
        "name": "/dev/nvme0n1p3",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sda1",
        "filesystem": "ext4"
      }
    ]
  }
}


blesh 0.3.4-5
atuin 18.6.1-1

As I mentioned, this currently results in me being able to open the history but nothing gets added to it. I do also have fzf installed but I understand that only keybindings and completion issues are expected, not actual history issues. Looking at other posts, I would think I somehow misconfigured my .bashrc file because of the bash plugin reminder but I did follow those steps. System is up to date, please do let me know if there is any other files or logs that are relevant.

ble >= 0.4 is required by Atuin. Use AUR’s blesh-git instead of AUR’s blesh.

I think the Atuin documentation mentioned the requirement for ble.sh’s version at some point, but it seems the description disappeared somehow.

edit:

The descriptions for the required ble.sh version was added in PR 1465, but they were removed in PR 2203 without updating the corresponding section in the atuinsh/docs repository. I tried to pick some of the lost information in PR 64 @ docs, but the version requirement wasn’t picked.

edit2:

I opened a pull request at atuinsh/docs.

edit3

I also opened a pull request for the warning message in atuin doctor.

Yep, that was it. Uninstalled ble.sh and installed the git version, history is now updated. Noted, should try multiple versions of packages if possible. Thank you!