Merge pull request #530 from honza/revert-529-master

Revert "repeared shebang"
This commit is contained in:
Louis Pilfold 2015-03-02 10:16:23 +00:00
commit 00258dcefa

View File

@ -1,6 +1,6 @@
# Shebang. Executing bash via /usr/bin/env makes scripts more portable.
snippet bash
#!/bin/bash
snippet #!
#!/usr/bin/env bash
snippet if
if [[ ${1:condition} ]]; then
@ -79,8 +79,11 @@ snippet getopt
shift $(($OPTIND-1))
snippet root
if [ \$(id -u) -ne 0 ]; then exec sudo \$0; fi
snippet fun
${1:function_name}() {
${0:#function_body}
}
snippet ffun
function ${1:function_name}() {
${0:#function_body}
}