yazelix icon indicating copy to clipboard operation
yazelix copied to clipboard

Failed to check if the command running in the current pane is helix

Open lens0021 opened this issue 5 months ago • 19 comments

https://github.com/luccahuguet/yazelix/blob/8a675729a29e7678fe1770c36eb12ddcb44d3e16/yazi/open_file.sh#L10 is always false for me.

When I tested, zellij action list-clients is:

CLIENT_ID ZELLIJ_PANE_ID RUNNING_COMMAND
1         terminal_1     hx /some/path -w /some/path

so

$ echo hx | grep -q "/hx$"; echo $?
1
$ echo hx | grep -q "hx$"; echo $?
0

for me.

  • zellij 0.40.1
  • grep (GNU grep) 3.11
  • helix 24.7 (079f5442) installed using dnf
  • Fedora Workstation

lens0021 avatar Aug 28 '24 05:08 lens0021