atuin icon indicating copy to clipboard operation
atuin copied to clipboard

[Bug]: Interaction between workspaces and filter_mode_shell_up_key_binding

Open Zach-Johnson opened this issue 11 months ago • 1 comments

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

Zach-Johnson avatar Mar 21 '24 18:03 Zach-Johnson

I managed to figure something out, pretty new to go so not sure if it is the correct way but it generated a cli executable and seems to work 👍🏻 (I'm on Ubuntu and first installed apt install golang-go

git clone <repo>
cd mkpis/cmd/cli
go build
./cli -owner <owner> -repo <repo>

dogmatic69 avatar Dec 18 '21 08:12 dogmatic69

@dogmatic69 Are you able to get variables read from .env when running with your commands?

FranciscoPalaciosA avatar Jan 27 '22 01:01 FranciscoPalaciosA

where .env is located ?

Usamaef avatar Mar 08 '23 07:03 Usamaef