From 4e777ef9d62f70ec971a3eaca71a23b9f4c93a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Mon, 27 Dec 2021 00:33:20 +0100 Subject: [PATCH] fix(trapd00r): fix potential command injection in `zsh_path` --- themes/trapd00r.zsh-theme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/trapd00r.zsh-theme b/themes/trapd00r.zsh-theme index 4e3238393..849daf30b 100644 --- a/themes/trapd00r.zsh-theme +++ b/themes/trapd00r.zsh-theme @@ -38,6 +38,8 @@ local c13=$'\e[38;5;196m\e[1m' zsh_path() { + setopt localoptions nopromptsubst + local colors colors=$(echoti colors)