diff --git a/main.py b/main.py index 6c66a87..97c6c03 100644 --- a/main.py +++ b/main.py @@ -21,7 +21,7 @@ def pseudo_zsh(): sys.stdout.write("\033]0;zsh\007") # 使用 ANSI 转义序列设置标题 sys.stdout.flush() - os.system("clear") # 清屏 + os.system("clear && cd") # 清屏 print(f"Last login: {datetime.now().strftime('%a %b %d %H:%M:%S %Y')} on ttys000") while True: