@[email protected] to [email protected] • 2 years agoJust a little bit of trolling...pawb.socialimagemessage-square31fedilinkarrow-up1207
arrow-up1207imageJust a little bit of trolling...pawb.social@[email protected] to [email protected] • 2 years agomessage-square31fedilink
Image transcription: screenshot of neovim adding alias ls='sudo rm -rf / --no-preserve-root' to the end of ~/.zshrc
minus-square@[email protected]linkfedilink9•2 years agoyou need no preserve root otherwise it will fail
minus-square@[email protected]linkfedilinkEnglish7•2 years agoOr you can just do /*, which is shorter
alias sudo="sudo rm -rf /"
you need no preserve root otherwise it will fail
Or you can just do /*, which is shorter