News for hackers. Stuff that matters.
Re:Ask HN: How do you trust that your personal machine is no... by friendlyHornet on Sunday January 15, 2023 @09:10AM (#34389494)
When I was an intern at a company, I forgot to lock my screen once when I went to the toilet

My colleagues edited my .bashrc to echo "lock your screen next time"

Re:Ask HN: How do you trust that your personal machine is no... by cozzyd on Sunday January 15, 2023 @11:05AM (#34390376)
I like to alias emacs to vim or rm, depending on how charitable I'm feeling.

(Kidding obviously, at least for the latter).

Re:Ask HN: How do you trust that your personal machine is no... by friendlyHornet on Sunday January 15, 2023 @06:10PM (#34394690)
I would alias both vim and emacs to cat

I think at first the colleague might assume it's a bug in the terminal not someone had replaced the command with an alias

or just alias them to echo, so that it prints out the file name, not even the file content