From cb87a2095d2ac8d80bfb8aa3740fdb95864ec270 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 14 Feb 2016 20:39:35 +1100 Subject: [PATCH] --ascii_distro now also enables ascii mode --- 1.2.md | 1 + fetch | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/1.2.md b/1.2.md index bd11e7cd..227161e7 100644 --- a/1.2.md +++ b/1.2.md @@ -1,6 +1,7 @@ # Fetch 1.2 - Fixed text padding when the user didn't have the locale 'en_US.UTF8' installed. +- `--ascii_distro` now also enables ascii mode. ### OS diff --git a/fetch b/fetch index 0a492967..e04297fe 100755 --- a/fetch +++ b/fetch @@ -2407,7 +2407,12 @@ while [ "$1" ]; do done ascii_colors+=(7 7 7 7 7 7) ;; - --ascii_distro) ascii_distro="$2" ;; + + --ascii_distro) + image="ascii" + ascii_distro="$2" + case "$2" in "--"* | "") ascii_distro="$distro" ;; esac + ;; # Screenshot --scrot | -s) scrot="on"; [ "$2" ] && scrot_path="$2" ;;