diff --git a/main.py b/main.py index fed1ac8..38e3012 100644 --- a/main.py +++ b/main.py @@ -19,7 +19,8 @@ def pseudo_zsh(): - os.system("clear && cd ~") # 清屏 + os.system("clear") # 清屏 + subprocess.run("cd ~", shell=True) # 切换到用户目录 print(f"Last login: {datetime.now().strftime('%a %b %d %H:%M:%S %Y')} on ttys000") while True: