mirror of
https://github.com/zsh-users/zsh
synced 2024-09-30 05:06:09 +00:00
51817: protect ':' in _rcctl
This was in 51817 but missed in commit 0577daf
.
Also remove _ant.rej that was added by the commit.
This commit is contained in:
parent
58852b3246
commit
2778fc5d7a
|
@ -1,3 +1,8 @@
|
|||
2023-06-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* Stephane: 51817: Completion/BSD/Command/_rcctl: protect ':'
|
||||
in _rcctl (was in 51817 but missed in commit 0577daf)
|
||||
|
||||
2023-06-06 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Stephan: 51818: Protect another ':'.
|
||||
|
|
|
@ -46,6 +46,6 @@ case $service in
|
|||
'*:argument:'
|
||||
;;
|
||||
${(~j:|:)actions}|disable|enable)
|
||||
_arguments "*:service to $words[2]:_services"
|
||||
_arguments "*:service to ${words[2]}:_services"
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
--- 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
|
Loading…
Reference in a new issue