macOS Sierra (HyperTerm): Add terminal detection
This commit is contained in:
parent
fa1a14f8f5
commit
a63a6a6b1d
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -1461,6 +1461,7 @@ getterm() {
|
|||
case "$TERM_PROGRAM" in
|
||||
"iTerm.app") term="iTerm2" ;;
|
||||
"Terminal.app") term="Apple Terminal" ;;
|
||||
"Hyper") term="HyperTerm" ;;
|
||||
*) term="${TERM_PROGRAM/\.app}" ;;
|
||||
esac
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue