aboutsummaryrefslogtreecommitdiff
path: root/bin/mkvi.sh
blob: 244b89f8a65e1890d73e6dfd3f53fb024bf75efc (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
# Create paths to all files before invoking editor
for file ; do
    mkdir -p -- "${file%/*}" || exit
done
exec "$VISUAL" "$@"