Skip to content

Commit

Permalink
[PR] #272 from Un1q32: Add "Apple Terminal"
Browse files Browse the repository at this point in the history
Add `Apple_Terminal` to list of special cases in get_term()
  • Loading branch information
hykilpikonna authored May 15, 2024
2 parents cd6f749 + 5ded23e commit a2abe13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -4547,10 +4547,10 @@ get_term() {
# Workaround for macOS systems that
# don't support the block below.
case $TERM_PROGRAM in
"iTerm.app") term="iTerm2" ;;
"Terminal.app") term="Apple Terminal" ;;
"Hyper") term="HyperTerm" ;;
*) term="${TERM_PROGRAM/\.app}" ;;
"iTerm.app") term="iTerm2" ;;
"Terminal.app"|"Apple_Terminal") term="Apple Terminal" ;;
"Hyper") term="HyperTerm" ;;
*) term="${TERM_PROGRAM/\.app}" ;;
esac

# Most likely TosWin2 on FreeMiNT - quick check
Expand Down

0 comments on commit a2abe13

Please sign in to comment.