%sh{cat /tmp/file-path} triggers vcs logic and chokes #13455
Answered
by
the-mikedavis
taqtiqa-mark
asked this question in
Troubleshooting
-
SummaryFollowing this suggestion for Yazi + Helix integration: The following error is triggered. Reproduction Steps[keys.normal]
C-y = [
':sh rm -f /tmp/zide-helix-yazi-file',
':insert-output yazi %{buffer_name} --chooser-file=/tmp/zide-helix-yazi-file',
':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty',
':open %sh{cat /tmp/zide-helix-yazi-file}',
':redraw',
] I tried this:
I expected this to happen: The file would open in helix Instead, this happened: After selecting the file to open, the helix editor is empty. Screenshot: Helix log~/.cache/helix/helix.log
PlatformLinux Terminal Emulatorkgx Installation Methodsource Helix Versionhelix 25.01.1 (e7ac2fc) |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
May 1, 2025
Replies: 1 comment
-
Command expansions were merged after the 25.01.1 release (#12527) so |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
taqtiqa-mark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Command expansions were merged after the 25.01.1 release (#12527) so
:open %sh{cat /tmp/zide-helix-yazi-file}
is interpreted literally and%sh{cat
and/tmp/zide-helix-yazi-file}
files are opened. To use expansions you'll need to build master from source