atuinsh / atuin

✨ Magical shell history
https://atuin.sh
MIT License
20.75k stars 564 forks source link

[Bug]: Interaction between workspaces and filter_mode_shell_up_key_binding #1896

Open Zach-Johnson opened 7 months ago

Zach-Johnson commented 7 months ago

What did you expect to happen?

I set my config to this:

workspaces = true
filter_mode_shell_up_key_binding = "session"

and I expect that up arrow will default to session view

What happened?

It filters to the workspace view. I would like it to still filter up arrow to the session view, as this is very useful for running the previous command that was ran in a particular session easily. Otherwise I have to search for the previous command. This is very useful for example, when running some process locally and wanting to restart it.

Atuin doctor output

atuin:
  version: 18.1.0
  sync: null
shell:
  name: bash
  plugins:
  - atuin
system:
  os: Darwin
  arch: arm64
  version: 13.6.5
  disks:
  - name: Macintosh HD
    filesystem: apfs
  - name: Macintosh HD
    filesystem: apfs


### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
timvdalen commented 6 months ago

I have the same config, and I would also expect the behaviour you're describing from that interaction.