Hi, I'm using typeset -UT to unique a scalar variable: export -UT CMAKE_PREFIX_PATH="$ZPFX:$CMAKE_PREFIX_PATH" cmake_prefix_path The problem is that the variable/array will contain empty element if the variable is empty when export is run. I wonder if is it possible to somehow clear such empty entry (i.e.: to remove :: from "a::b") without another line of code? -- Best regards, Sebastian Gniazdowski