From 334622aa9fe8768467ceab454c8e3201109c2e09 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Wed, 1 Mar 2023 18:34:37 +0800 Subject: [PATCH] login beacon 2>/dev/null --- .zshrc2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.zshrc2 b/.zshrc2 index 08af0bc..60b5024 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" "$(who am i | sed -E 's/ +/ /g' | awk '$1=$1')" + "$DOTFILES/tools/common.sh" apost_beacon "sys.login.root" "$(who am i | sed -E 's/ +/ /g' | awk '$1=$1')" 2>/dev/null else - "$DOTFILES/tools/common.sh" apost_beacon "sys.login.user" "$(who am i | sed -E 's/ +/ /g' | awk '$1=$1')" + "$DOTFILES/tools/common.sh" apost_beacon "sys.login.user" "$(who am i | sed -E 's/ +/ /g' | awk '$1=$1')" 2>/dev/null fi fi @@ -174,4 +174,4 @@ dfs() # clean unset i -export DFS_INITED=1 \ No newline at end of file +export DFS_INITED=1