diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-12-27 00:33:20 +0100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-01-03 13:50:52 +0100 |
commit | 4e777ef9d62f70ec971a3eaca71a23b9f4c93a54 (patch) | |
tree | 4c716a9c1b42038e11f380198f4f6f57d40944f7 /themes | |
parent | 9836aebe672159622193f14a89eedc38ccd29a5d (diff) | |
download | zsh-4e777ef9d62f70ec971a3eaca71a23b9f4c93a54.tar.gz zsh-4e777ef9d62f70ec971a3eaca71a23b9f4c93a54.tar.bz2 zsh-4e777ef9d62f70ec971a3eaca71a23b9f4c93a54.zip |
fix(trapd00r): fix potential command injection in `zsh_path`
Diffstat (limited to 'themes')
-rw-r--r-- | themes/trapd00r.zsh-theme | 2 |
1 files changed, 2 insertions, 0 deletions
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) |