resty
resty copied to clipboard
Using `|` operator to ignore noclobber setting
This allows to overwrite existing files on output redirect with >
.
Fixes issues: https://github.com/micha/resty/issues/78 and https://github.com/sorin-ionescu/prezto/issues/1527
I'm not a collaborator on this repo, but for anyone interested in the relevant portions of the docs, here they are:
- http://zsh.sourceforge.net/Doc/Release/Redirection.html "Same as >, except that the file is truncated to zero length if it exists, even if CLOBBER is unset."
- https://www.gnu.org/software/bash/manual/html_node/Redirections.html "If the redirection operator is ‘>|’, or the redirection operator is ‘>’ and the noclobber option is not enabled, the redirection is attempted even if the file named by word exists."
Updated to add support for HTTP/2
Well if that's the case I can revert the HTTP/2 commit and wait for this to merge before opening another PR
Is this repo abandoned? It's been a full year already.