diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-07-20 12:10:56 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-07-20 12:10:56 +0300 |
commit | 7704f6b877663fe85420c1473ffb4aef3df9a1e4 (patch) | |
tree | c9314932be56d3a195a08459832dfdd388b64163 | |
parent | 2dd6a29e4d7a33bfef10973d6550e087be37ddee (diff) | |
parent | 64c5f10379aa980396d1a4f938d1479a0f2e64b8 (diff) |
Merge branch 'christian-schulze-use-HOST-for-distrobox-detection'
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 1e01ba5f..9668c421 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -8280,7 +8280,7 @@ _p9k_init_toolbox() { local name=(${(Q)${${(@M)${(f)"$(</run/.containerenv)"}:#name=*}#name=}}) [[ ${#name} -eq 1 && -n ${name[1]} ]] || return 0 typeset -g P9K_TOOLBOX_NAME=${name[1]} - elif [[ -n $DISTROBOX_ENTER_PATH && -n $NAME ]]; then + elif [[ -n $DISTROBOX_ENTER_PATH && -n $HOST ]]; then local name=${(%):-%m} if [[ $name == $NAME* ]]; then typeset -g P9K_TOOLBOX_NAME=$name |