From b7ac62447d2f1c7bdb2bb8260d5d3dc581ddd13e Mon Sep 17 00:00:00 2001 From: aviu16 <162624394+aviu16@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:04:21 -0500 Subject: [PATCH] Fix unquoted variable expansions in source commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quote file paths to prevent word splitting issues. Changed: - microk8s line 13: source $cache → source "$cache" - autoenv line 54: source $autoenv_dir/activate → source "$autoenv_dir/activate" - autoenv line 56: source $autoenv_dir/activate.sh → source "$autoenv_dir/activate.sh" Co-Authored-By: Claude Sonnet 4.5 --- plugins/autoenv/autoenv.plugin.zsh | 4 ++-- plugins/microk8s/microk8s.plugin.zsh | 2 +- rxjs-pr | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 160000 rxjs-pr diff --git a/plugins/autoenv/autoenv.plugin.zsh b/plugins/autoenv/autoenv.plugin.zsh index 2f84f0acf..260f7a299 100644 --- a/plugins/autoenv/autoenv.plugin.zsh +++ b/plugins/autoenv/autoenv.plugin.zsh @@ -51,9 +51,9 @@ END fi # Load autoenv if [[ -e $autoenv_dir/activate ]]; then - source $autoenv_dir/activate + source "$autoenv_dir/activate" else - source $autoenv_dir/activate.sh + source "$autoenv_dir/activate.sh" fi fi } diff --git a/plugins/microk8s/microk8s.plugin.zsh b/plugins/microk8s/microk8s.plugin.zsh index 048a9ab83..3dcf78567 100644 --- a/plugins/microk8s/microk8s.plugin.zsh +++ b/plugins/microk8s/microk8s.plugin.zsh @@ -10,7 +10,7 @@ _microk8s_cache_completion() { $2 $cache fi - [[ -f $cache ]] && source $cache + [[ -f $cache ]] && source "$cache" } # ---------------------------------------------------------- # 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