helix icon indicating copy to clipboard operation
helix copied to clipboard

allow shell command non-zero return code while using output

Open QiBaobin opened this issue 2 years ago • 1 comments

Fix two issues found:

  1. $ shell_keep_pipe doesn't work as the logic will stop while there is no-zero shell return code.
  2. | pipe_to, ! shell_insert_output etc behavior different with expected, for instance, | then rg -o foo, we want all selections become 'foo' or empty instead of failing.

QiBaobin avatar Nov 23 '22 09:11 QiBaobin

Just tried it because the $ was not working. fix working good thanks for providing!

jjoshm avatar Dec 05 '22 04:12 jjoshm