diff --git a/shell.py b/shell.py index 6f64b1b..35abb78 100644 --- a/shell.py +++ b/shell.py @@ -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 ":