diff --git a/README.md b/README.md index 4c3ba0b1..db53e955 100644 --- a/README.md +++ b/README.md @@ -349,6 +349,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 diff --git a/neofetch b/neofetch index 04fa8d0a..904a78f7 100755 --- a/neofetch +++ b/neofetch @@ -1927,6 +1927,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