NO DELETING THE ENTIRE FILESYSTEM
(thanks shellcheck for not letting me delete my entire system :3)
This commit is contained in:
parent
7563605feb
commit
e89f617299
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
function unlink() {
|
||||
if [ -a "${HOME}/${1}" ]; then
|
||||
echo ":: Unlinking ${1}"
|
||||
rm -rf "${HOME}/${1}"
|
||||
rm -rf "${HOME:?}/${1:?}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue