X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=scripts%2Fcore%2Ffunctions.sh;h=19e4306c63e890259b94e2a18ca8187e8a91f9bc;hp=f13f4afeb83565738a042e42a051fc78ca38f826;hb=a4173a73d2fced6e8cf8d9914995e5359b29599c;hpb=d9ef0e211c2934b627db7f18332a84ab941ee1c8 diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index f13f4afe..19e4306c 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -515,6 +515,8 @@ if [ -z "$skip_all" ]; then # if the user has sudo root access; we don't want to provide a custom # profile for root. fi + # chop off any email address style formatting to leave just the name. + custom_user="$(echo "$custom_user" | cut -f1 -d'@')" save_terminal_title