mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 11:39:53 +00:00
Ascii: Remove greedy globs
This commit is contained in:
9
neofetch
9
neofetch
@@ -2761,8 +2761,7 @@ get_distro_colors() {
|
|||||||
ascii_file="minix"
|
ascii_file="minix"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# TODO (Before PR is merged): Make this glob less greedy.
|
"Linux Mint"* | "LinuxMint"*)
|
||||||
*"Mint"*)
|
|
||||||
set_colors 2 7
|
set_colors 2 7
|
||||||
ascii_file="mint"
|
ascii_file="mint"
|
||||||
;;
|
;;
|
||||||
@@ -2877,8 +2876,7 @@ get_distro_colors() {
|
|||||||
ascii_file="redstar"
|
ascii_file="redstar"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# TODO (Before PR is merged): Make this glob less greedy.
|
"Redhat"* | "Red Hat"*)
|
||||||
"Red"*)
|
|
||||||
set_colors 1 7 3
|
set_colors 1 7 3
|
||||||
ascii_file="redhat"
|
ascii_file="redhat"
|
||||||
;;
|
;;
|
||||||
@@ -2938,8 +2936,7 @@ get_distro_colors() {
|
|||||||
ascii_file="solaris"
|
ascii_file="solaris"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# TODO (Before PR is merged): Make this glob less greedy.
|
"openSUSE"* | "open SUSE")
|
||||||
*"SUSE"*)
|
|
||||||
set_colors 2 7
|
set_colors 2 7
|
||||||
ascii_distro="suse"
|
ascii_distro="suse"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user