Merge pull request 'Minor fixes and improvements' (#1) from karx/pclish:main into main
Reviewed-on: #1
This commit is contained in:
commit
216b553ce7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue