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/_ant | |
parent | 78102120b9c9e7485e7f537864fc2c24fbe0071a (diff) | |
download | zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.gz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.xz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.zip |
Protect some :s from history modifier expansion
Diffstat (limited to 'Completion/Unix/Command/_ant')
-rw-r--r-- | Completion/Unix/Command/_ant | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant index 7401c7449..36c7c0e89 100644 --- a/Completion/Unix/Command/_ant +++ b/Completion/Unix/Command/_ant @@ -79,8 +79,8 @@ case $state in compset -P '*:' compset -S ':*' _alternative \ - "classpath:$state:_path_files -qS: -g '*.(jar|zip)(-.)'" \ - "classpath:$state:_path_files -r': ' -/" && ret=0 + "classpath:${state}:_path_files -qS: -g '*.(jar|zip)(-.)'" \ + "classpath:${state}:_path_files -r': ' -/" && ret=0 ;; property) if compset -P 1 '*='; then |