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