From ebf5f6345a869ef050ff63bd5f251f57e6bef51f Mon Sep 17 00:00:00 2001 From: Herdiansyah Date: Wed, 2 Nov 2016 08:21:15 +0700 Subject: [PATCH 1/2] Android (Termux): Fixed ASCII not appearing --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 5c1a8277..a8f5bcec 100755 --- a/neofetch +++ b/neofetch @@ -1926,6 +1926,10 @@ getascii() { elif [ -f "/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ]; then ascii="/usr/local/share/neofetch/ascii/distro/${ascii/ *}" + + elif [ -f "/data/data/com.termux/files/usr/share/neofetch/ascii/distro/${ascii/ *}" ]; then + ascii="/data/data/com.termux/files/usr/share/neofetch/ascii/distro/${ascii/ *}" + else getscriptdir 2>/dev/null From 5c1d5fec762ea95aca529fe5c2092c3253cf7a63 Mon Sep 17 00:00:00 2001 From: Herdiansyah Date: Wed, 2 Nov 2016 08:23:57 +0700 Subject: [PATCH 2/2] README: Added installation instructions for Android/Termux --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 92e85cab..a270ed10 100644 --- a/README.md +++ b/README.md @@ -350,6 +350,10 @@ Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/de 2. Install `neofetch` through cydia. +### Android (Termux) + +You can install it using `apt install neofetch` + ### Manual 1. Download the latest source at https://github.com/dylanaraps/neofetch