From ec907b8442d09e083245c62a9a4c9095aeb09760 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 17 Oct 2012 18:45:57 +0200 Subject: add dump-zstyle --- etc/functions/dump-zstyle | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 etc/functions/dump-zstyle diff --git a/etc/functions/dump-zstyle b/etc/functions/dump-zstyle new file mode 100644 index 0000000..bdcb142 --- /dev/null +++ b/etc/functions/dump-zstyle @@ -0,0 +1,12 @@ +local names patterns styles + +zstyle -g names +for name in $names; do + zstyle -g patterns $name + for pattern in $patterns; do + zstyle -g styles $name $pattern + for style in $styles; do + echo "$name $pattern $style" + done + done +done -- cgit v1.2.3