From bc53d2eafe5c40f4ea072e23d2e5cf03a410ff0b Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 1 Feb 2016 08:48:44 +1100 Subject: [PATCH] Only look for w3m path if we're in image mode --- fetch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fetch b/fetch index 36187426..9a919c8b 100755 --- a/fetch +++ b/fetch @@ -2116,7 +2116,9 @@ if [ "$image" != "off" ]; then clear # Find w3mimgdisplay - [ "$image_backend" == "w3m" ] && getw3m_img_path + [ "$image_backend" == "w3m" ] && \ + [ "$image" != "ascii" ] && \ + getw3m_img_path # Get the image getimage