Browse Source

Show system hostname in prompt, not just localhost

pull/1/head
~karx 7 months ago
parent
commit
8691c397f1
  1. 2
      shell.py

2
shell.py

@ -13,7 +13,7 @@ OS = platform.system()
HOST = socket.gethostname()
VER = "PCLISH v0.0.6a-hotfix1a"
PROMPT = "shell@localhost$ "
PROMPT = "shell@{}$ ".format(HOST)
def execute_command(command):
try:

Loading…
Cancel
Save