diff options
author | Frank Terbeck <bewater@users.sourceforge.net> | 2011-02-15 09:28:54 +0000 |
---|---|---|
committer | Frank Terbeck <bewater@users.sourceforge.net> | 2011-02-15 09:28:54 +0000 |
commit | 9bfc05e3dba10929cf13dd7628bf8adac7d6345a (patch) | |
tree | 705098794e0f499b99b5b33ec5420a03f1160ba7 | |
parent | 9199663fe0ff6d33780400ba17ad585cd0919026 (diff) | |
download | zsh-9bfc05e3dba10929cf13dd7628bf8adac7d6345a.tar.gz zsh-9bfc05e3dba10929cf13dd7628bf8adac7d6345a.tar.xz zsh-9bfc05e3dba10929cf13dd7628bf8adac7d6345a.zip |
28758: make `colors' function work with non-default option sets
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Functions/Misc/colors | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 0dc4c2652..b2d87e6ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-02-15 Frank Terbeck <ft@bewatermyfriend.org> + + * 28758: Functions/Misc/colors: work with non-default option sets. + 2011-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com> * 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=( |