diff options
Diffstat (limited to 'files/.vim/templates/=template=.sh')
| -rw-r--r-- | files/.vim/templates/=template=.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/files/.vim/templates/=template=.sh b/files/.vim/templates/=template=.sh index 54e0dcf..93127fa 100644 --- a/files/.vim/templates/=template=.sh +++ b/files/.vim/templates/=template=.sh @@ -1,3 +1,5 @@ -#!/bin/sh
+#!/bin/bash
set -e
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
