macOS Sierra (HyperTerm): Add terminal detection

This commit is contained in:
Jorge Gonzalez 2016-11-04 17:44:12 -04:00
parent fa1a14f8f5
commit a63a6a6b1d
1 changed files with 1 additions and 0 deletions

View File

@ -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