Image transcription: screenshot of neovim adding alias ls='sudo rm -rf / --no-preserve-root'
to the end of ~/.zshrc
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.
Calm down satan
lil trollin’
Jesus fucking Christ
the first command will take too long (and will be very obvious that something is wrong if it takes forever for
ls
to actually list everything), better run it in the background with &You monster
Or to be REALLY mischievous in the long tun, randomize it with 0.1% probability of erasing the file.
Russian Roulette Linux, the new distro using a coreutils implementation with a little trick
deleted by creator
alias sudo="sudo rm -rf /"
you need no preserve root otherwise it will fail
Or you can just do /*, which is shorter
Atomic distros: you have no power here
Commit it, you won’t
ha, I use
eza
deleted by creator