From 9bfc05e3dba10929cf13dd7628bf8adac7d6345a Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 15 Feb 2011 09:28:54 +0000 Subject: 28758: make `colors' function work with non-default option sets --- ChangeLog | 6 +++++- Functions/Misc/colors | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0dc4c2652..b2d87e6ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-02-15 Frank Terbeck + + * 28758: Functions/Misc/colors: work with non-default option sets. + 2011-02-13 Peter Stephenson * 28750 with some extra comments: @@ -14203,5 +14207,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5197 $ +* $Revision: 1.5198 $ ***************************************************** diff --git a/Functions/Misc/colors b/Functions/Misc/colors index bef93c8c3..027ca9a14 100644 --- a/Functions/Misc/colors +++ b/Functions/Misc/colors @@ -1,6 +1,8 @@ # Put standard ANSI color codes in shell parameters for easy use. # Note that some terminals do not support all combinations. +emulate -L zsh + typeset -Ag color colour color=( -- cgit v1.3.1