[PR] #272 from Un1q32: Add "Apple Terminal"
Add `Apple_Terminal` to list of special cases in get_term()
This commit is contained in:
commit
a2abe13b86
1 changed files with 4 additions and 4 deletions
8
neofetch
8
neofetch
|
@ -4547,10 +4547,10 @@ get_term() {
|
||||||
# Workaround for macOS systems that
|
# Workaround for macOS systems that
|
||||||
# don't support the block below.
|
# don't support the block below.
|
||||||
case $TERM_PROGRAM in
|
case $TERM_PROGRAM in
|
||||||
"iTerm.app") term="iTerm2" ;;
|
"iTerm.app") term="iTerm2" ;;
|
||||||
"Terminal.app") term="Apple Terminal" ;;
|
"Terminal.app"|"Apple_Terminal") term="Apple Terminal" ;;
|
||||||
"Hyper") term="HyperTerm" ;;
|
"Hyper") term="HyperTerm" ;;
|
||||||
*) term="${TERM_PROGRAM/\.app}" ;;
|
*) term="${TERM_PROGRAM/\.app}" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Most likely TosWin2 on FreeMiNT - quick check
|
# Most likely TosWin2 on FreeMiNT - quick check
|
||||||
|
|
Loading…
Reference in a new issue