Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: oops, forgot to include _setup
- X-seq: zsh-workers 8883
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: oops, forgot to include _setup
- Date: Fri, 3 Dec 1999 16:41:51 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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