Merge pull request #363 from dylanaraps/uppercase
Uppercase first letter of term outputs.
This commit is contained in:
commit
c45436f0c3
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -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^}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in a new issue