Add macOS versions and fallback value, close #11
This commit is contained in:
parent
718663f50d
commit
cebb21818e
@ -74,7 +74,11 @@
|
|||||||
("10.14" . "macOS Mojave")
|
("10.14" . "macOS Mojave")
|
||||||
("10.15" . "macOS Catalina")
|
("10.15" . "macOS Catalina")
|
||||||
("10.16" . "macOS Big Sur")
|
("10.16" . "macOS Big Sur")
|
||||||
("11.0" . "macOS Big Sur"))
|
("11.0" . "macOS Big Sur")
|
||||||
|
("11.1" . "macOS Big Sur")
|
||||||
|
("11.2" . "macOS Big Sur")
|
||||||
|
("11.3" . "macOS Big Sur")
|
||||||
|
("11.4" . "macOS Big Sur"))
|
||||||
"Versions of OSX and macOS and their name.")
|
"Versions of OSX and macOS and their name.")
|
||||||
|
|
||||||
|
|
||||||
@ -664,7 +668,8 @@ If RELEASE-FILE is nil, use '/etc/os-release'."
|
|||||||
`((string-match-p (regexp-quote ,(car major))
|
`((string-match-p (regexp-quote ,(car major))
|
||||||
,version)
|
,version)
|
||||||
,(cdr major)))
|
,(cdr major)))
|
||||||
eshell-info-banner--macos-versions)))
|
eshell-info-banner--macos-versions)
|
||||||
|
(t "unkown version")))
|
||||||
|
|
||||||
(defun eshell-info-banner--get-os-information/darwin ()
|
(defun eshell-info-banner--get-os-information/darwin ()
|
||||||
"See `eshell-info-banner--get-os-information'."
|
"See `eshell-info-banner--get-os-information'."
|
||||||
|
Loading…
Reference in New Issue
Block a user