Created attachment 336518 [details, diff]
Define necessary variables in a local context
Supplied is a patch for the included colourful gentoo prompt. The patch replaces globally declared variables with local ones. There is no reason for the prompt specific variables to be defined in a global context.
I have 'setopt warncreateglobal' enabled in my shell by default. With this, whenever a script creates new global variables without explicitly making them global (typeset -g), it yields warnings on the shell. Very convenient :)
There was a new zsh version but this patch was not implemented. Please implement, it'
There was a new zsh version but this patch was not implemented. Please implement, it's trivial and simple.
Hellooo is anyone there.... there..... here....... ere....... re......
Fixed in CVS.