aboutsummaryrefslogtreecommitdiff
path: root/bin/mked.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-04 01:20:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-04 01:20:39 +1200
commit63f8c62db0166e52bd34c6130556b1a768b485f5 (patch)
tree7f235392b429ddf80f158b95a67acc57fd42a762 /bin/mked.sh
parentMerge branch 'release/v1.19.0' (diff)
parentBump VERSION to 1.20.0 (diff)
downloaddotfiles-63f8c62db0166e52bd34c6130556b1a768b485f5.tar.gz
dotfiles-63f8c62db0166e52bd34c6130556b1a768b485f5.zip
Merge branch 'release/v1.20.0'v1.20.0
* release/v1.20.0: Bump VERSION to 1.20.0 Rewrite Perl version-number bump Vim funcs Add _v/_V Vim maps for Perl version bumps Use full names of 'cscope...' Vim options Add mked(1df) and mkvi(1df)
Diffstat (limited to 'bin/mked.sh')
-rw-r--r--bin/mked.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/mked.sh b/bin/mked.sh
new file mode 100644
index 00000000..4e280205
--- /dev/null
+++ b/bin/mked.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Create paths to all files before invoking editor
+for file ; do
+ mkdir -p -- "${file%/*}" || exit
+done
+exec "$EDITOR" "$@"