Hi,
I’ve been using atuin for over a year now and it’s great, could never go back.
However I recently found ble.sh and wanted to start using some of those features alongside atuin. However out of the box ble.sh does not play nicely with atuin.
I made some progress here, and have atuin opening on CTRL-R and any commands I type going correctly into history. However when I select a command in atuin it gets printed above my prompt rather than inserted into it.
Any tips for getting this final piece of the puzzle working?
Here are the relevant bits of my config that got me this far:
.bashrc:
source /usr/share/blesh/ble.sh --noattach
# ... lots of unrelated bash config.. then at the end of .bashrc :
# Atuin
# (these bindings are overwitten by ble fzf contrib, in blerc we restore them
eval "$(atuin init bash)"
[[ ! ${BLE_VERSION-} ]] || ble-attach
My .blerc looks like this:
# Set up fzf
ble-import -d integration/fzf-completion
ble-import -d integration/fzf-key-bindings
# Restore atuin search after fzf has been loaded
ble/util/idle.push '
ble-bind -m emacs -x C-r "atuin search -i"
ble-bind -m vi_imap -x C-r "atuin search -i"
ble-bind -m vi_nmap -x C-r "atuin search -i"
'
Any help would getting the command I search for in atuin inserted into my prompt (rather than printed above it) would be much appreciated
ble.sh, version 0.4.0-devel4+4338bbf7 (noarch)
atuin 18.4.0