Commit 0fc8fff
committed
fix(rcs): avoid unexpected pathname expansion
In the current implementation, when the current word contains any glob
characters, the glob pattern can match unexpected files. We instead
use `_comp_expand_glob` with double-quoting the strings originating
from the current word.1 parent fa566c2 commit 0fc8fff
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
0 commit comments