diff options
author | Stephane Chazelas <stephane@chazelas.org> | 2023-06-02 16:09:53 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2023-06-06 09:22:18 +0100 |
commit | 0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81 (patch) | |
tree | 3a0d5928ee437d4e210e9224aec347baaa8c04bf /Completion/Unix/Command/_java | |
parent | 78102120b9c9e7485e7f537864fc2c24fbe0071a (diff) | |
download | zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.gz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.zip |
Protect some :s from history modifier expansion
Diffstat (limited to 'Completion/Unix/Command/_java')
-rw-r--r-- | Completion/Unix/Command/_java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_java b/Completion/Unix/Command/_java index ff6e82645..b2352df7b 100644 --- a/Completion/Unix/Command/_java +++ b/Completion/Unix/Command/_java @@ -438,8 +438,8 @@ classpath|sourcepath|bootstrapclasspath|docletpath) compset -P '*:' compset -S ':*' _alternative \ - "classpath:$state:_path_files -qS: -g '*.(jar|zip)(-.)'" \ - "classpath:$state:_path_files -r': ' -/" && return + "classpath:${state}:_path_files -qS: -g '*.(jar|zip)(-.)'" \ + "classpath:${state}:_path_files -r': ' -/" && return ;; extdirs) |