Update 'shell.py'
This commit is contained in:
parent
94fa3876b1
commit
2d169eefa8
2
shell.py
2
shell.py
|
@ -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 ":
|
||||||
|
|
Loading…
Reference in New Issue