mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
Ascii: Fix bug where OS X ascii was used on linux
This commit is contained in:
@@ -10,4 +10,4 @@ before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
|
||||
|
||||
script:
|
||||
- time ./neofetch --ascii --config travis --ascii_distro travis -v
|
||||
- time ./neofetch --ascii --config travis -v
|
||||
|
10
neofetch
10
neofetch
@@ -2608,11 +2608,6 @@ get_distro_colors() {
|
||||
set_colors fg 7
|
||||
;;
|
||||
|
||||
*"OS X"* | *"iOS"* | "Mac" | *"macOS"*)
|
||||
set_colors 2 3 1 1 5 4
|
||||
ascii_distro="mac"
|
||||
;;
|
||||
|
||||
"OpenMandriva"*)
|
||||
set_colors 4 3
|
||||
;;
|
||||
@@ -2683,6 +2678,11 @@ get_distro_colors() {
|
||||
set_colors fg 8 3
|
||||
;;
|
||||
|
||||
*"OS X"* | *"iOS"* | "Mac" | *"macOS"*)
|
||||
set_colors 2 3 1 1 5 4
|
||||
ascii_distro="mac"
|
||||
;;
|
||||
|
||||
*)
|
||||
case "$os" in
|
||||
"Linux")
|
||||
|
Reference in New Issue
Block a user