diff --git a/main.py b/main.py index 6df0748..be7e675 100644 --- a/main.py +++ b/main.py @@ -81,7 +81,7 @@ def pseudo_zsh(): print(f"存储: {used_disk}GB / {total_disk}GB ({disk_usage}%)") print("-" * 40) - subprocess.run(f"cd /{username}/", shell=True) # 切换到用户目录 + subprocess.run(f"cd /Users/{username}/", shell=True) # 切换到用户目录 while True: try: @@ -167,7 +167,7 @@ def pseudo_zsh(): if args[0] == 'py': subprocess.run(['python3',args[1]]) continue - + # if args[0] == 'sudo': # flight1 = True