diff --git a/shell.py b/shell.py old mode 100644 new mode 100755 index 074022d..f168537 --- a/shell.py +++ b/shell.py @@ -1,5 +1,5 @@ -# PCLISH - Python Command Line Shell #!/usr/bin/env python3 +# PCLISH - Python Command Line Shell import os import subprocess @@ -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: