This commit is contained in:
Dylan Araps 2016-11-02 14:41:57 +11:00
commit 2705f23248
3 changed files with 18 additions and 0 deletions

View file

@ -1,6 +1,11 @@
## Contributors ## Contributors
## Packages
- Neofetch is now in Termux`s repos.
## Images ## Images
- Fix division by 0 error. - Fix division by 0 error.

View file

@ -44,6 +44,7 @@ Have a look at the wiki, I've updated/added some new pages!<br \>
- [Slackware](#slackware) - [Slackware](#slackware)
- [macOS](#macos) - [macOS](#macos)
- [iOS](#ios-1) - [iOS](#ios-1)
- [Android (Termux)](#android-termux)
- [Manual](#manual) - [Manual](#manual)
- [Post Install](#post-install) - [Post Install](#post-install)
- [Usage](#usage) - [Usage](#usage)
@ -205,6 +206,8 @@ Note: The cydia package installs these dependencies for you.
Note: I recommend installing `termux` from the Play Store or F-Droid. Termux provides you with a fully working Linux environment, doesn't require root acess and includes all dependencies. Note: I recommend installing `termux` from the Play Store or F-Droid. Termux provides you with a fully working Linux environment, doesn't require root acess and includes all dependencies.
Note2: Neofetch is in Termux's official repos.
<!-- }}} --> <!-- }}} -->
@ -232,6 +235,7 @@ https://github.com/dylanaraps/neofetch/wiki/Following-HEAD
- [Slackware](#slackware) - [Slackware](#slackware)
- [macOS](#mac-os-x) - [macOS](#mac-os-x)
- [iOS](##ios-1) - [iOS](##ios-1)
- [Android (Termux)](#android-termux)
- [Manual](#manual) - [Manual](#manual)
@ -349,6 +353,11 @@ Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/de
2. Install `neofetch` through cydia. 2. Install `neofetch` through cydia.
### Android (Termux)
You can install it using `apt install neofetch`
### Manual ### Manual
1. Download the latest source at https://github.com/dylanaraps/neofetch 1. Download the latest source at https://github.com/dylanaraps/neofetch

View file

@ -1926,6 +1926,10 @@ getascii() {
elif [ -f "/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ]; then elif [ -f "/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ]; then
ascii="/usr/local/share/neofetch/ascii/distro/${ascii/ *}" 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 else
getscriptdir 2>/dev/null getscriptdir 2>/dev/null