A minor safety option which is what I did in similar circumstances:
Move the offending and dangerously names item ~ to a new name foodir:
mv \~ foo
then check it's what it should be : ls foo should not list your home folder
Then remove :
rm -r foo