Address some comments.

This commit is contained in:
Kan Li
2020-11-28 18:49:25 -08:00
parent 8ce9d8daa5
commit c13850faa2
12 changed files with 12 additions and 12 deletions

View File

@@ -176,7 +176,7 @@ function __powerline_aws_profile_prompt {
function __powerline_in_toolbox_prompt {
local fg_color=206
if [[ -e /run/.toolboxenv ]]; then
if [ -f /run/.containerenv ] && [ -f /run/.toolboxenv ]; then
echo "${IN_TOOLBOX_THEME_PROMPT_TEXT}|${IN_TOOLBOX_THEME_PROMPT_COLOR}|${fg_color}"
fi
}