From f3204e09149ed3f0f7b248403e9699a898e53865 Mon Sep 17 00:00:00 2001 From: chenyc Date: Mon, 10 Apr 2023 15:54:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E8=84=9A=E6=9C=AC=E5=86=85so?= =?UTF-8?q?urce=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DEF/translate.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DEF/translate.sh b/DEF/translate.sh index 0f2cb919..da7d6aaf 100755 --- a/DEF/translate.sh +++ b/DEF/translate.sh @@ -2,6 +2,8 @@ # 利用chatgpt翻译选中的文本 # https://github.com/j178/chatgpt +# 载入环境变量 (apiKey, proxyEndpoint) +source ~/.zshrc msgid=$((RANDOM%1000)) notify-send -r $msgid "󰊿 AI translator" "."; sleep 0.3