Fix unquoted variable expansions in touch commands

Quote file paths to prevent word splitting issues.

Changed:
- pip plugin line 36: touch $tmp_cache → touch "$tmp_cache"
- sublime plugin line 112: touch $_sublime_project_file → touch "$_sublime_project_file"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
aviu16 2026-02-16 16:03:33 -05:00
commit b89e7d8e4a
3 changed files with 3 additions and 2 deletions

View file

@ -109,7 +109,7 @@ function create_project() {
local _sublime_project_file=$_target/$(basename $_target).sublime-project
if [[ ! -f $_sublime_project_file ]]; then
touch $_sublime_project_file
touch "$_sublime_project_file"
echo -e "{" >> $_sublime_project_file
echo -e "\t\"folders\":" >> $_sublime_project_file