From d8f9574be93bc96216de0efe339651cd4ccd750e Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 4 Feb 2016 12:53:56 +1100 Subject: [PATCH] If 'ascii_colors' is empty, colors are disabled in ascii art --- 1.1.md | 2 +- fetch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/1.1.md b/1.1.md index d156a04a..9ba05a8f 100644 --- a/1.1.md +++ b/1.1.md @@ -39,7 +39,7 @@ fetch --ascii "path/to/ascii" --ascii_color 2 \[1\] **[How do I enable screenfetch mode?](http://github.com/dylanaraps/fetch#how-do-i-enable-screenfetch-mode)**
\[2\] `ascii_colors` takes a range of colors which allows you to color every aspect of
distro and OS ascii art. For custom art the script will color the entirety of it using
-the first value of `ascii_colors`. +the first value of `ascii_colors`. If `ascii_colors` is left empty, color will be disabled. ### Config file diff --git a/fetch b/fetch index 01b7aee0..49964d37 100755 --- a/fetch +++ b/fetch @@ -2153,7 +2153,7 @@ while [ "$1" ]; do *) ascii_colors+=($arg) esac done - ascii_colors+=(7 7 7 7 7) + ascii_colors+=(7 7 7 7 7 7) ;; --ascii_distro) ascii_distro="$2" ;;