summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/functions/dump-zstyle12
1 files changed, 12 insertions, 0 deletions
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