mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
fix(trapd00r): fix potential command injection in zsh_path
This commit is contained in:
@@ -38,6 +38,8 @@ local c13=$'\e[38;5;196m\e[1m'
|
||||
|
||||
|
||||
zsh_path() {
|
||||
setopt localoptions nopromptsubst
|
||||
|
||||
local colors
|
||||
colors=$(echoti colors)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user