diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-07 21:42:39 +0200 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-16 22:16:47 +0200 |
commit | 8ac91b12cebd54a7eb133cbad4592d497442bd73 (patch) | |
tree | 44c265442ee711d4b13d7518b3dda11ecc531e2e /functions | |
parent | 26353278549c680e252e407e75ce4ab3fda3386c (diff) | |
download | mkinitcpio-8ac91b12cebd54a7eb133cbad4592d497442bd73.tar.gz mkinitcpio-8ac91b12cebd54a7eb133cbad4592d497442bd73.tar.xz |
use consistent vim modelines
This also adds a /bin/bash shebang to functions. While not technically
necessary, this ensures that vim gives us the correct syntax highlight
file.
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +#!/bin/bash + msg () { [ "${QUIET}" = "n" ] && echo $@; } err () { echo "ERROR: $@" >&2; } die () { echo "FATAL: $@" >&2; cleanup; exit 1; } @@ -266,4 +268,5 @@ parse_hook() { add_file "${HOOKDIR}/${SCRIPT}" "/hooks/${SCRIPT}" fi } + # vim: set ft=sh ts=4 sw=4 et: |