Birthday: Fix macOS birthday command
This commit is contained in:
parent
89f7c2210d
commit
bfdca24bbd
1 changed files with 5 additions and 5 deletions
10
neofetch
10
neofetch
|
@ -1732,12 +1732,12 @@ get_birthday() {
|
|||
birthday="$(ls -alct --full-time / | awk '/lost\+found|private/ {printf $6 " " $7}')"
|
||||
;;
|
||||
|
||||
"BSD" | "Mac OS X")
|
||||
case "$kernel_name" in
|
||||
"Darwin")
|
||||
birthday_file="/var/log/install.log"
|
||||
;;
|
||||
"Mac OS X")
|
||||
birthday="$(ls -lUT /var/log/install.log | awk '{printf $9 " " $6 " " $7 " " $8}')"
|
||||
;;
|
||||
|
||||
"BSD")
|
||||
case "$kernel_name" in
|
||||
"OpenBSD"* | "Bitrig"*)
|
||||
birthday_file="/"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue