Comment on Show HN: Tap curl in your editor before it gets to shparentComments−tree_of_item9yHow is it better? Pasting is a totally different use case from `curl | sh`.−semi-extrinsic9yTypical use case:* type "curl <paste>" in zsh, vim opens with "curl <pasted-url>* inspect URL, if OK in Normal mode do !!zsh<CR> (I assume emacs can also somehow eval current line in shell and replace line with output)* inspect the code downloaded (still in vim) and then execute it (or save to file then execute).
Comments
How is it better? Pasting is a totally different use case from `curl | sh`.
Typical use case:
* type "curl <paste>" in zsh, vim opens with "curl <pasted-url>
* inspect URL, if OK in Normal mode do !!zsh<CR> (I assume emacs can also somehow eval current line in shell and replace line with output)
* inspect the code downloaded (still in vim) and then execute it (or save to file then execute).