diff --git a/.zshrc2 b/.zshrc2 index 26e08de..08af0bc 100644 --- a/.zshrc2 +++ b/.zshrc2 @@ -92,9 +92,9 @@ antigen apply # beacon if [[ -z "$DFS_INITED" && -z "$CI" ]]; then if [[ "$EUID" == "0" ]]; then - "$DOTFILES/tools/common.sh" apost_beacon "sys.login.root" + "$DOTFILES/tools/common.sh" apost_beacon "sys.login.root" "$(who am i | sed -E 's/ +/ /g' | awk '$1=$1')" else - "$DOTFILES/tools/common.sh" apost_beacon "sys.login.user" + "$DOTFILES/tools/common.sh" apost_beacon "sys.login.user" "$(who am i | sed -E 's/ +/ /g' | awk '$1=$1')" fi fi