Skip to content

Commit a2abe13

Browse files
authored
[PR] #272 from Un1q32: Add "Apple Terminal"
Add `Apple_Terminal` to list of special cases in get_term()
2 parents cd6f749 + 5ded23e commit a2abe13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

neofetch

+4-4
Original file line numberDiff line numberDiff line change
@@ -4547,10 +4547,10 @@ get_term() {
45474547
# Workaround for macOS systems that
45484548
# don't support the block below.
45494549
case $TERM_PROGRAM in
4550-
"iTerm.app") term="iTerm2" ;;
4551-
"Terminal.app") term="Apple Terminal" ;;
4552-
"Hyper") term="HyperTerm" ;;
4553-
*) term="${TERM_PROGRAM/\.app}" ;;
4550+
"iTerm.app") term="iTerm2" ;;
4551+
"Terminal.app"|"Apple_Terminal") term="Apple Terminal" ;;
4552+
"Hyper") term="HyperTerm" ;;
4553+
*) term="${TERM_PROGRAM/\.app}" ;;
45544554
esac
45554555

45564556
# Most likely TosWin2 on FreeMiNT - quick check

0 commit comments

Comments
 (0)