How can I override the file exists:
warning from zsh?
> echo > newfile.txt
> echo > newfile.txt
zsh: file exists: newfile.txt
In these cases I prefer my shell to not complain and simply overwrite the file, like bash.
Likewise, how to override the following:
$ ls >> /tmp/testfile.txt
zsh: no such file or directory: /tmp/testfile.txt
set +C
should be longer for a comment. But maybe that's because i failed to mention>|
for a single-use case. – mikeserv Jun 25 '15 at 14:38