Skip to content

Commit

Permalink
unquote ID in /etc/os-release (#2388)
Browse files Browse the repository at this point in the history
  • Loading branch information
romkatv committed Jul 25, 2023
1 parent e8aa8cc commit 1d96f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/p10k.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
typeset -g P9K_VERSION=1.19.4
unset VSCODE_SHELL_INTEGRATION

_p9k_init_ssh
Expand Down
2 changes: 1 addition & 1 deletion internal/wizard.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ function os_icon_name() {
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
Expand Down

0 comments on commit 1d96f5e

Please sign in to comment.