command_dev_clear_functions.sh 388 B

1234567891011121314
  1. #!/bin/bash
  2. # command_dev_clear_functions.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Deletes the contents of the functions dir.
  6. echo "================================="
  7. echo "Clear Functions"
  8. echo "================================="
  9. echo ""
  10. if fn_prompt_yn "Do you want to delete all functions?" Y; then
  11. rm -rfv "${functionsdir}/*"
  12. fi
  13. core_exit.sh