diff --git a/uninstall.bash b/uninstall.bash index 339931d..87ff03c 100755 --- a/uninstall.bash +++ b/uninstall.bash @@ -1,6 +1,6 @@ #!/bin/bash echo "UNINSTALLING BASHFOX" -randstr="$(base64 /dev/urandom | head -c6)" +randstr="$(base64 /dev/urandom -w6 | grep -v '/' | head -n1)" echo echo "--- CHECK ---" read -p "Enter $randstr to proceed: " check @@ -11,3 +11,4 @@ rm -vrf ~/.bashfox grep -v 'This loads bashfox' ~/.bashrc | perl -pe 'chomp if eof' > ~/.bashrc.temp rm -fv ~/.bashrc mv -v ~/.bashrc.temp ~/.bashrc +echo '😕 REMEMBER: Anytime you can reinstall BashFOX ☚ī¸'