Show system hostname in prompt, not just localhost
This commit is contained in:
parent
5fb834cb9d
commit
8691c397f1
2
shell.py
2
shell.py
|
@ -13,7 +13,7 @@ OS = platform.system()
|
||||||
HOST = socket.gethostname()
|
HOST = socket.gethostname()
|
||||||
VER = "PCLISH v0.0.6a-hotfix1a"
|
VER = "PCLISH v0.0.6a-hotfix1a"
|
||||||
|
|
||||||
PROMPT = "shell@localhost$ "
|
PROMPT = "shell@{}$ ".format(HOST)
|
||||||
|
|
||||||
def execute_command(command):
|
def execute_command(command):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue