From: Chris Koeritz Date: Wed, 15 Nov 2017 00:21:19 +0000 (-0500) Subject: fixing a weird misprint of user X-Git-Tag: 2.140.100^2~12^2~7 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3e9cb679dd2e72b726c5d98edc9e5d69c64af7d1;p=feisty_meow.git fixing a weird misprint of user the user was showing up as root for developer somehow. --- diff --git a/scripts/tty/terminal_titler.sh b/scripts/tty/terminal_titler.sh index b59dd3dd..0203b9ae 100644 --- a/scripts/tty/terminal_titler.sh +++ b/scripts/tty/terminal_titler.sh @@ -102,7 +102,7 @@ function label_terminal_with_info() fi pruned_host=$(echo $HOSTNAME | sed -e 's/^\([^\.]*\)\..*$/\1/') date_string=$(date +"%Y %b %e @ %T") - user=$USER + user=$(logname) if [ -z "$user" ]; then # try snagging the windoze name. user=$USERNAME