From edd4bbe562ea427ca174c9f2ea224b41eed5ef0a Mon Sep 17 00:00:00 2001 From: Tommmy Date: Thu, 3 Apr 2025 07:17:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20main.py=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=80=80=E5=87=BA=E5=91=BD=E4=BB=A4=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E4=B8=BA=20"zsh:=20command=20not=20found:=20?= =?UTF-8?q?exit"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a7ee0fe..4158bb8 100644 --- a/main.py +++ b/main.py @@ -43,7 +43,7 @@ def pseudo_zsh(): # 如果输入特定命令 "hxl",退出程序 if cmd.strip() == "exit": - print("") + print("zsh: command not found: exit") break # 使用 shlex 分割用户输入为命令和参数