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