Update 'shell.py'

This commit is contained in:
JaydenMW 2021-02-14 16:48:27 +01:00
parent 7454bd308b
commit 1c475e65f3
1 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,8 @@ import os
import subprocess
import psutil
import platform
import socket
import getpass
# Get System Information
RAM = psutil.virtual_memory()
@ -70,7 +72,7 @@ def pclish_ls():
print("""pclish: this feature is not yet supported""")
def pclish_ver():
print("""pclish: version 0.0.1a.""")
print("""pclish: version 0.0.2a.""")
def pclish_mkdir():
value = input("What would you like to name this new directory:\n")
@ -92,7 +94,7 @@ def pclish_shtdwnsubsys():
# Shell Prompt Customization and step 2 of command interpritation
def main():
while True:
inp = input("shell@system >> ")
inp = input(f"{getpass.getuser()}@{platform.node()}>> ")
if inp == "exit":
break
elif inp[:3] == "cd ":