v1.5.5 fix bugs and new theme
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import os
|
||||
theme_name = "default"
|
||||
theme_version = "1.0.0"
|
||||
head = "{user}@{address}$ "
|
||||
|
||||
import os
|
||||
user = os.getlogin()
|
||||
address = os.getcwd()
|
||||
head = f"\033[31m{user}\033[0m@\033[32m{address}\033[0m$ "
|
||||
|
||||
|
||||
# 获取当前文件的绝对路径
|
||||
current_file_path = os.path.abspath(__file__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user