macOS Sierra (HyperTerm): Add terminal detection
This commit is contained in:
parent
fa1a14f8f5
commit
a63a6a6b1d
1
neofetch
1
neofetch
|
@ -1461,6 +1461,7 @@ getterm() {
|
||||||
case "$TERM_PROGRAM" in
|
case "$TERM_PROGRAM" in
|
||||||
"iTerm.app") term="iTerm2" ;;
|
"iTerm.app") term="iTerm2" ;;
|
||||||
"Terminal.app") term="Apple Terminal" ;;
|
"Terminal.app") term="Apple Terminal" ;;
|
||||||
|
"Hyper") term="HyperTerm" ;;
|
||||||
*) term="${TERM_PROGRAM/\.app}" ;;
|
*) term="${TERM_PROGRAM/\.app}" ;;
|
||||||
esac
|
esac
|
||||||
return
|
return
|
||||||
|
|
Reference in New Issue