更新 main.py,修改清屏命令并切换到用户主目录

This commit is contained in:
2025-04-02 18:39:30 +08:00
Unverified
parent 91a07aae6a
commit 8e3045ca42

View File

@@ -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: