Merge pull request #363 from dylanaraps/uppercase

Uppercase first letter of term outputs.
This commit is contained in:
Dylan Araps 2016-10-15 22:07:00 +11:00 committed by GitHub
commit c45436f0c3
1 changed files with 4 additions and 0 deletions

View File

@ -1559,6 +1559,8 @@ getterm() {
"gnome-terminal-") term="gnome-terminal" ;; "gnome-terminal-") term="gnome-terminal" ;;
*) term="$name" ;; *) term="$name" ;;
esac esac
[ "$version" -ge 4 ] && term="${term^}"
} }
# }}} # }}}
@ -1607,6 +1609,8 @@ gettermfont() {
termfont="${termfont/:*}" termfont="${termfont/:*}"
;; ;;
esac esac
[ "$version" -ge 4 ] && termfont="${termfont^}"
} }
# }}} # }}}