Re:Do not use redirection characters in your shell prompt
by tremon on Wednesday March 17, 2021 @12:32PM
(#26493457)
Parent's point was that starting your prompt with `:` isn't a guarantee that everything that follows is safe (to expand on the "without redirection characters" remark by the OP).
'>/some/file' works as well.