Address some comments.
This commit is contained in:
@@ -170,7 +170,7 @@ function __powerline_aws_profile_prompt() {
|
||||
}
|
||||
|
||||
function __powerline_in_toolbox_prompt() {
|
||||
if [[ -e /run/.toolboxenv ]]; then
|
||||
if [ -f /run/.containerenv ] && [ -f /run/.toolboxenv ]; then
|
||||
echo "${IN_TOOLBOX_THEME_PROMPT_TEXT}|${IN_TOOLBOX_THEME_PROMPT_COLOR}"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user