Made gettitle more reliable

This commit is contained in:
Dylan 2016-04-29 14:50:16 +10:00
parent 07535f26cf
commit ac46be44cf

View file

@ -538,7 +538,7 @@ getdistro () {
# Title {{{ # Title {{{
gettitle () { gettitle () {
title="${USER}@$(hostname)" title="${USER:-$(whoami)}@${HOSTNAME:-$(hostname)}"
} }
# }}} # }}}