mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 16:47:02 +08:00
login beacon 2>/dev/null
This commit is contained in:
parent
765f59ad49
commit
334622aa9f
4
.zshrc2
4
.zshrc2
|
@ -92,9 +92,9 @@ antigen apply
|
||||||
# beacon
|
# beacon
|
||||||
if [[ -z "$DFS_INITED" && -z "$CI" ]]; then
|
if [[ -z "$DFS_INITED" && -z "$CI" ]]; then
|
||||||
if [[ "$EUID" == "0" ]]; 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
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user