z
z copied to clipboard
Automatically create missing parent directories in _Z_DATA path
When parent directories of _Z_DATA don't exist we should automatically create them.
Could also touch the file if it does not exist. This would remove the need for changes like https://github.com/rupa/z/commit/78f0d97 and tests like
# no file yet
[ -f "$datafile" ] || return