1
0
mirror of https://github.com/zplug/zplug synced 2025-04-30 13:17:57 +02:00

fix: allow colons inside tags

This commit is contained in:
Leonardo Gama 2018-08-08 16:23:02 -03:00
parent 2323e0ce17
commit 5de9ed8b6c

@ -34,8 +34,9 @@ __zplug::core::add::to_zplugs()
# Reconstruct the tag information
for tag in "${tags[@]}"
do
key=${${(s.:.)tag}[1]}
val=${${(s.:.)tag}[2]}
tag=("${(@s.:.)tag}")
key=$tag[1]
val=${(j.:.)tag[2,-1]}
if (( $+_zplug_tags[$key] )); then
case $key in