diff options
| author | Anton Bobov <abobov@gmail.com> | 2021-04-21 22:20:01 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2021-04-21 22:20:01 +0500 |
| commit | 265c7adc64e399bc9f0b6312a31c7bc74717544c (patch) | |
| tree | 108460c12aeda7422bb53bf50f0505c4ae545b37 /files/.vim | |
| parent | 949d2bfd0d1448b1f2711ed2170027c5534935c0 (diff) | |
vim: update sh template.
Diffstat (limited to 'files/.vim')
| -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 )"
|
