]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
snippets: adding eshell fori loop.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 15 Jan 2016 16:01:14 +0000 (17:01 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 15 Jan 2016 16:01:14 +0000 (17:01 +0100)
snippets/eshell-mode/fori [new file with mode: 0644]

diff --git a/snippets/eshell-mode/fori b/snippets/eshell-mode/fori
new file mode 100644 (file)
index 0000000..84444a6
--- /dev/null
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: fori
+# key: fori
+# --
+for i in $1; do echo \$\{i\}; $2; done$0