about summary refs log tree commit diff
path: root/Completion/Unix/Command/_ant
diff options
context:
space:
mode:
authorStephane Chazelas <stephane@chazelas.org>2023-06-02 16:09:53 +0100
committerPeter Stephenson <p.stephenson@samsung.com>2023-06-06 09:22:18 +0100
commit0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81 (patch)
tree3a0d5928ee437d4e210e9224aec347baaa8c04bf /Completion/Unix/Command/_ant
parent78102120b9c9e7485e7f537864fc2c24fbe0071a (diff)
downloadzsh-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/_ant4
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