container prompt

This commit is contained in:
pvincent
2026-09-08 21:58:33 +04:00
parent 1c6141b118
commit c808dc2384
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
disable=SC1090,SC1091
+1 -1
View File
@@ -26,7 +26,7 @@ function __miaou_prompt_command {
IFS=' '
if [[ -v HOST_TYPE && -v HOST_LOCATION ]]; then
PS1+="\[\e[44;30m\]${HOST_TYPE}://${HOST_LOCATION}\[\e[49;34m\]${R} "
PS1+="\[\e[100;37m\] ${HOST_TYPE} \[\e[44;90m\]\[\e[44;30m\] ${HOST_LOCATION} \[\e[49;34m\]${R} "
fi
if [[ "$UID" -eq 0 ]]; then