News for hackers. Stuff that matters.
Re:Do not use redirection characters in your shell prompt by diffuse_l on Wednesday March 17, 2021 @12:22PM (#26493310)
You don't even need the ':'.

'>/some/file' works as well.

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).
Re:Do not use redirection characters in your shell prompt by erlkonig on Wednesday March 17, 2021 @01:08PM (#26494009)
He did mention graybeards.