container prompt
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
disable=SC1090,SC1091
|
||||||
+1
-1
@@ -26,7 +26,7 @@ function __miaou_prompt_command {
|
|||||||
IFS=' '
|
IFS=' '
|
||||||
|
|
||||||
if [[ -v HOST_TYPE && -v HOST_LOCATION ]]; then
|
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
|
fi
|
||||||
|
|
||||||
if [[ "$UID" -eq 0 ]]; then
|
if [[ "$UID" -eq 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user