Skip to content

Commit

Permalink
Update uninstall.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
romw314 authored Nov 10, 2023
1 parent 75a26d8 commit 787da06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uninstall.bash
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 ☹️'

0 comments on commit 787da06

Please sign in to comment.