Made gettitle more reliable
This commit is contained in:
parent
07535f26cf
commit
ac46be44cf
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -538,7 +538,7 @@ getdistro () {
|
||||||
# Title {{{
|
# Title {{{
|
||||||
|
|
||||||
gettitle () {
|
gettitle () {
|
||||||
title="${USER}@$(hostname)"
|
title="${USER:-$(whoami)}@${HOSTNAME:-$(hostname)}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in a new issue