From 7ebd6dacba450a0a3a412716adab77ad8b15b456 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 2 Nov 2016 16:18:45 +0100 Subject: [PATCH] Android (Termux): Fix default config location --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index cad7f2e0..56c3633d 100755 --- a/neofetch +++ b/neofetch @@ -2712,6 +2712,9 @@ getdefaultconfig() { elif [ -f "/usr/local/share/neofetch/config" ]; then default_config="/usr/local/share/neofetch/config" + elif [ -f "/data/data/com.termux/files/usr/share/neofetch/config" ]; then + default_config="/data/data/com.termux/files/usr/share/neofetch/config" + else getscriptdir default_config="${script_dir}/config/config"