1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 02:20:09 +00:00

fix(trapd00r): fix potential command injection in zsh_path

This commit is contained in:
Marc Cornellà 2021-12-27 00:33:20 +01:00
parent 9836aebe67
commit 4e777ef9d6
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -38,6 +38,8 @@ local c13=$'\e[38;5;196m\e[1m'
zsh_path() {
setopt localoptions nopromptsubst
local colors
colors=$(echoti colors)