From c808dc238416e875031caefaeef09b1c8aca57a3 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 8 Sep 2026 21:58:33 +0400 Subject: [PATCH] container prompt --- .shellcheckrc | 1 + etc/bash.bashrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .shellcheckrc diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 0000000..0459386 --- /dev/null +++ b/.shellcheckrc @@ -0,0 +1 @@ +disable=SC1090,SC1091 diff --git a/etc/bash.bashrc b/etc/bash.bashrc index 0debb14..abe1fe8 100644 --- a/etc/bash.bashrc +++ b/etc/bash.bashrc @@ -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