1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-21 19:31:50 +02:00

Protect another : from history modifier expansion

This commit is contained in:
Stephane Chazelas 2023-06-02 16:29:32 +01:00 committed by Peter Stephenson
parent 0577dafcaa
commit 58852b3246
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2023-06-06 Peter Stephenson <p.stephenson@samsung.com>
* Stephan: 51818: Protect another ':'.
* Stephane: 51817: Protect some use of ':' from history modifier
interpreation.

View File

@ -136,7 +136,7 @@ _ipadm() {
proto_icmp_properties=( "max_buf" "recv_buf" "send_buf" )
proto_all_properties=( $proto_ipv4_properties $proto_ipv6_properties $proto_tcp_properties
$proto_udp_properties $proto_sctp_properties $proto_icmp_properties )
proto_all_properties=( $^proto_all_properties:value:_ipadm_get_possible_values )
proto_all_properties=( ${^proto_all_properties}:value:_ipadm_get_possible_values )
proto_propproperties=( "proto" "property" "perm" "current" "persistent" "default" "possible" )