From 625212118a87ebd0e3b81dcd676d604a86a03cb1 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 24 Feb 2020 06:36:26 -0700 Subject: [PATCH] Set var then export --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 1d58a42..e23193d 100644 --- a/.zshrc +++ b/.zshrc @@ -19,7 +19,8 @@ else fi if [[ -z "$USER" ]]; then - export USER=$(whoami) + USER=$(whoami) + export USER fi which go &> /dev/null