# -*- mode: sh; -*- if [[ "${(P)${1}}" =~ (^|:)"$2"(:|$) ]]; then; else typeset -g $1="${(P)${1}}:$2" fi