diff --git a/.claude/rules/bash-style.md b/.claude/rules/bash-style.md index 36c50b3..36b1924 100644 --- a/.claude/rules/bash-style.md +++ b/.claude/rules/bash-style.md @@ -48,6 +48,7 @@ function do_thing() { - `(( ))` for arithmetic comparisons - `$(command)` for substitution, never backticks - Double quotes around expansions: `"$var"`, `"${array[@]}"` +- Quote the whole string, not just the variable: `"$HOME/.local/bin"` not `"$HOME"/.local/bin` - Single quotes for literals that must not expand - `printf` over `echo` when output contains escapes or format strings