"--clean" remove cache folder and files

This commit is contained in:
Dylan 2016-03-30 19:30:37 +11:00
parent 8ef9c1b4c3
commit c2557873fc
1 changed files with 5 additions and 1 deletions

View File

@ -2687,7 +2687,11 @@ while [ "$1" ]; do
--xoffset) xoffset="$2" ;;
--yoffset) yoffset="$2" ;;
--gap) gap="$2" ;;
--clean) rm -rf "$thumbnail_dir" || exit ;;
--clean)
rm -rf "$thumbnail_dir"
rm -rf "/Library/Caches/neofetch/"
exit
;;
# Ascii
--ascii)