From c2557873fca742f2789bf2af922193cf82c87211 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 30 Mar 2016 19:30:37 +1100 Subject: [PATCH] "--clean" remove cache folder and files --- neofetch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 7dede0f4..b263fc20 100755 --- a/neofetch +++ b/neofetch @@ -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)