mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-01-13 00:58:33 +01:00
fix(trapd00r): fix potential command injection in zsh_path
This commit is contained in:
parent
9836aebe67
commit
4e777ef9d6
@ -38,6 +38,8 @@ local c13=$'\e[38;5;196m\e[1m'
|
|||||||
|
|
||||||
|
|
||||||
zsh_path() {
|
zsh_path() {
|
||||||
|
setopt localoptions nopromptsubst
|
||||||
|
|
||||||
local colors
|
local colors
|
||||||
colors=$(echoti colors)
|
colors=$(echoti colors)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user