Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: oops, forgot to include _setup



Helmut just told me that I forgot to include the patch for this.

So, in its current state...

Sorry!

Bye
 Sven

diff -u oldcompletion/Core/_setup Completion/Core/_setup
--- oldcompletion/Core/_setup	Fri Dec  3 16:39:27 1999
+++ Completion/Core/_setup	Fri Dec  3 15:29:39 1999
@@ -0,0 +1,13 @@
+#autoload
+
+local colors i
+
+for i; do
+  if _style -a "$i" list-colors colors; then
+    if [[ "$1" = default ]]; then
+      ZLS_COLORS="${(j.:.)${(@)colors:gs/:/\\\:}}"
+    else
+      eval "ZLS_COLORS=\"(${i})\${(j.:(${i}).)\${(@)colors:gs/:/\\\:}}:\${ZLS_COLORS}\""
+    fi
+  fi
+done

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author