From f417dce668b5ac8be4445d6dfc133a063005587d Mon Sep 17 00:00:00 2001 From: wuqi Date: Thu, 8 Aug 2024 10:19:00 +0800 Subject: [PATCH] update --- .zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 1d48cef..f9d3b9c 100644 --- a/.zshrc +++ b/.zshrc @@ -13,6 +13,12 @@ plugins=( zsh-syntax-highlighting ) -source ~/.keychain.sh +if [ "$OS" != "Windows_NT" ];then + source ~/.keychain.sh +fi source ~/.rc.sh source $ZSH/oh-my-zsh.sh +if [ "$OS" = "Windows_NT" ]; then + HEADLINE_HOST_CMD='hostname' + export PATH="/ucrt64/bin:$PATH" +fi