fix usage of 'typeset -U'
authorThilo Six <grml@xk2c.de>
Sun, 5 Feb 2017 10:33:15 +0000 (11:33 +0100)
committerFrank Terbeck <ft@grml.org>
Sun, 5 Feb 2017 12:42:17 +0000 (13:42 +0100)
commitfbdbd827671eb277487c32c25f32da11dbf408bb
tree0ec412cb0456557123c396436dc2f3607ef4360b
parentcedfc98d894d4c53123046ef4c1ca65135f9f9a4
fix usage of 'typeset -U'

From man zsh:
for variables with shared values  it is  therefore  recommended to set the flag
for all interfaces, e.g. `typeset -U PATH path'.

Otherwise one of them is not unique:
% echo ${parameters[path]}
array-unique-special
% echo ${parameters[PATH]}
scalar-export-special

After:
% echo ${parameters[path]}
array-unique-special
% echo ${parameters[PATH]}
scalar-export-unique-special

Additionally drop a superflous for loop.
etc/zsh/zshrc