From f7ec33fa3d00146c2d65596768275eaf3798e060 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Mon, 30 Jan 2023 21:23:49 +0800 Subject: [PATCH] login beacon add details --- .zshrc2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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