mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 12:09:55 +00:00
Merge pull request #412 from termux/termux-default-config
Android (Termux): Fix default config location
This commit is contained in:
3
neofetch
3
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"
|
||||
|
||||
Reference in New Issue
Block a user