From 347c99825f7984c595aad3952671241a2fb80187 Mon Sep 17 00:00:00 2001 From: aviu16 <162624394+aviu16@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:03:12 -0500 Subject: [PATCH] Fix unquoted variable expansions in pip plugin rm commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quote file paths to prevent word splitting and globbing issues. Changed: - Line 20: rm $ZSH_PIP_CACHE_FILE → rm "$ZSH_PIP_CACHE_FILE" - Line 44: rm $tmp_cache → rm "$tmp_cache" Co-Authored-By: Claude Sonnet 4.5 --- plugins/pip/pip.plugin.zsh | 4 ++-- rxjs-pr | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 160000 rxjs-pr diff --git a/plugins/pip/pip.plugin.zsh b/plugins/pip/pip.plugin.zsh index bf1aafd4a..f00b6161c 100644 --- a/plugins/pip/pip.plugin.zsh +++ b/plugins/pip/pip.plugin.zsh @@ -17,7 +17,7 @@ fi ZSH_PIP_INDEXES=(https://pypi.org/simple/) zsh-pip-clear-cache() { - rm $ZSH_PIP_CACHE_FILE + rm "$ZSH_PIP_CACHE_FILE" unset piplist } @@ -41,7 +41,7 @@ zsh-pip-cache-packages() { >> $tmp_cache done sort $tmp_cache | uniq | tr '\n' ' ' > $ZSH_PIP_CACHE_FILE - rm $tmp_cache + rm "$tmp_cache" fi } diff --git a/rxjs-pr b/rxjs-pr new file mode 160000 index 000000000..c15b37f81 --- /dev/null +++ b/rxjs-pr @@ -0,0 +1 @@ +Subproject commit c15b37f81ba5f5abea8c872b0189a70b150df4cb