Update 'shell.py'

This commit is contained in:
JaydenMW 2021-02-16 21:16:34 +01:00
parent 94fa3876b1
commit 2d169eefa8
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def pclish_shtdwnsubsys():
# Shell Prompt Customization and step 2 of command interpritation # Shell Prompt Customization and step 2 of command interpritation
def main(): def main():
while True: while True:
inp = input(f"{getpass.getuser()}@{platform.node()}>> ") inp = input(user@hostname prefix)
if inp == "exit": if inp == "exit":
break break
elif inp[:3] == "cd ": elif inp[:3] == "cd ":