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 分割用户输入为命令和参数