diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2023-07-25 08:54:38 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2023-07-25 08:54:38 +0300 |
commit | e8aa8cce7f3c2017a21e62f502217be22e066aea (patch) | |
tree | 5b0f11517828ee5d6f581305322c6fd6d9e2f385 /internal | |
parent | 646bae0dd629045e08928c3ba7baa54fbbe79faa (diff) |
unquote ID in /etc/os-release (#2388)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/p10k.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 3ab76e3e..341356f6 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -8525,7 +8525,7 @@ function _p9k_init_cacheable() { if [[ -r /etc/os-release ]]; then local lines=(${(f)"$(</etc/os-release)"}) lines=(${(@M)lines:#ID=*}) - (( $#lines == 1 )) && os_release_id=${lines[1]#ID=} + (( $#lines == 1 )) && os_release_id=${(Q)${lines[1]#ID=}} elif [[ -e /etc/artix-release ]]; then os_release_id=artix fi @@ -9375,7 +9375,7 @@ if [[ $__p9k_dump_file != $__p9k_instant_prompt_dump_file && -n $__p9k_instant_p zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null fi -typeset -g P9K_VERSION=1.19.2 +typeset -g P9K_VERSION=1.19.3 unset VSCODE_SHELL_INTEGRATION _p9k_init_ssh |