From 8691c397f1e0d0c060297e5da0c225adfe651aef Mon Sep 17 00:00:00 2001 From: ~karx Date: Tue, 2 Mar 2021 12:09:48 -0600 Subject: [PATCH] Show system hostname in prompt, not just localhost --- shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.py b/shell.py index 12cfda8..f168537 100755 --- a/shell.py +++ b/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: