diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-10-17 18:45:57 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-10-17 18:45:57 +0200 |
commit | ec907b8442d09e083245c62a9a4c9095aeb09760 (patch) | |
tree | e541b25b17155859080f6e214029ab64c9d82f06 /etc | |
parent | 52f05f60c098ff172a572364acbd0c9bbf0457c7 (diff) |
add dump-zstyle
Diffstat (limited to 'etc')
-rw-r--r-- | etc/functions/dump-zstyle | 12 |
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 |