From 3e9cb679dd2e72b726c5d98edc9e5d69c64af7d1 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 14 Nov 2017 19:21:19 -0500 Subject: [PATCH] fixing a weird misprint of user the user was showing up as root for developer somehow. --- scripts/tty/terminal_titler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1