require su priveleges to use shred alias

This commit is contained in:
tomit4 2021-12-25 09:00:25 -08:00
parent 4caaaa7c1e
commit d8091c4064

View file

@ -248,7 +248,7 @@ alias rmorphans="doas pacman -Rs $(pacman -Qdtq)"
alias npm_upgrade="doas npm install -g npm@latest"
alias rm="newrm -vi"
alias {doasedit,sudoedit}="doas rnano"
alias shred="shred -uz" # shreds the file and overwrites it with 1s and 0s
alias shred="doas shred -uz" # shreds the file and overwrites it with 1s and 0s
alias indelible="doas chattr +i" # makes a file impossible to delete (except with sudo)
export EDITOR=nvim