aboutsummaryrefslogtreecommitdiff
path: root/files/.vim
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2021-04-21 22:20:01 +0500
committerAnton Bobov <abobov@gmail.com>2021-04-21 22:20:01 +0500
commit265c7adc64e399bc9f0b6312a31c7bc74717544c (patch)
tree108460c12aeda7422bb53bf50f0505c4ae545b37 /files/.vim
parent949d2bfd0d1448b1f2711ed2170027c5534935c0 (diff)
vim: update sh template.
Diffstat (limited to 'files/.vim')
-rw-r--r--files/.vim/templates/=template=.sh4
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 )"