Address some comments.
This commit is contained in:
@@ -65,7 +65,7 @@ IN_VIM_THEME_PROMPT_COLOR=245
|
||||
IN_VIM_THEME_PROMPT_TEXT="vim"
|
||||
|
||||
IN_TOOLBOX_THEME_PROMPT_COLOR=125
|
||||
IN_TOOLBOX_THEME_PROMPT_TEXT=" "
|
||||
IN_TOOLBOX_THEME_PROMPT_TEXT="⬢ "
|
||||
|
||||
|
||||
safe_append_prompt_command __powerline_prompt_command
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user