Explorar o código

Started writing a script to make buffer layers

Samuel W. Flint %!s(int64=8) %!d(string=hai) anos
pai
achega
17f8e286ff
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  1. 14 0
      make-layer

+ 14 - 0
make-layer

@@ -0,0 +1,14 @@
+#!/bin/zsh -f
+
+NAME=$1
+shift
+DIR=`pwd`
+
+echo ";; -*- emacs-lisp -*-"
+echo
+echo "(define-buffer-layer ${NAME}"
+echo ":files (\"${DIR}\""
+for file in $*; do
+    echo "\"${DIR}/${file}\""
+done
+echo "))"