Update shell.py
This commit is contained in:
parent
fa0488fb2a
commit
f65c2ac545
4
shell.py
4
shell.py
|
@ -8,7 +8,7 @@ RAM = psutil.virtual_memory()
|
||||||
CPU = platform.processor()
|
CPU = platform.processor()
|
||||||
OS = platform.system()
|
OS = platform.system()
|
||||||
HOST = socket.gethostname()
|
HOST = socket.gethostname()
|
||||||
VER = "PCLISH v0.0.6a"
|
VER = "PCLISH v0.0.6a-hotfix1a"
|
||||||
|
|
||||||
PROMPT = "shell@localhost$ "
|
PROMPT = "shell@localhost$ "
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ def main():
|
||||||
inp = input(PROMPT)
|
inp = input(PROMPT)
|
||||||
if inp == "exit":
|
if inp == "exit":
|
||||||
break
|
break
|
||||||
elif inp[] == "cd ":
|
elif inp == "cd ":
|
||||||
pclish_cd(inp[3:])
|
pclish_cd(inp[3:])
|
||||||
elif inp == "help":
|
elif inp == "help":
|
||||||
pclish_help()
|
pclish_help()
|
||||||
|
|
Loading…
Reference in New Issue