summary refs log tree commit diff
path: root/Src/Aliases/.preconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Aliases/.preconfig')
-rwxr-xr-xSrc/Aliases/.preconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/Src/Aliases/.preconfig b/Src/Aliases/.preconfig
new file mode 100755
index 000000000..064bc4e4e
--- /dev/null
+++ b/Src/Aliases/.preconfig
@@ -0,0 +1,32 @@
+#! /bin/sh
+
+for zshmod in \
+    cap \
+    clone \
+    compctl \
+    complete \
+    complist \
+    computil \
+    deltochar \
+    example \
+    files \
+    mapfile \
+    mathfunc \
+    parameter \
+    rlimits \
+    sched \
+    stat \
+    zftp \
+    zle \
+    zleparameter \
+    zutil \
+; do
+    localname=$zshmod
+    aliasname=$zshmod
+    depname=zsh/$zshmod
+    sed '
+	s,@LOCALNAME@,'$localname',g
+	s,@ALIASNAME@,'$aliasname',g
+	s,@DEPNAME@,'$depname',g
+    ' < alias.mdd.in > ${localname}.mdd
+done