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.rej | |
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.rej')
-rw-r--r-- | Completion/Unix/Command/_ant.rej | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_ant.rej b/Completion/Unix/Command/_ant.rej new file mode 100644 index 000000000..15e26c9da --- /dev/null +++ b/Completion/Unix/Command/_ant.rej @@ -0,0 +1,13 @@ +--- Completion/Unix/Command/_ant ++++ 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 |