From: Sergey Matveev Date: Tue, 15 Mar 2022 17:54:10 +0000 (+0300) Subject: Built-in mkdir X-Git-Url: http://www.git.stargrave.org/?p=zk.zsh.git;a=commitdiff_plain;h=82a10b41acc19b79d0f5f43cef9a9e1ed44ce41a Built-in mkdir --- diff --git a/zk.zsh b/zk.zsh index cfc95a4..9f9c716 100755 --- a/zk.zsh +++ b/zk.zsh @@ -30,6 +30,7 @@ typeset -a cats for p (**(/)) cats=($p $cats) zmodload zsh/mapfile +zmodload -F zsh/files b:zf_mkdir typeset -A links typeset -A backs typeset -aU ws @@ -144,7 +145,7 @@ case $1 in (html-index) genIndex $2 ;; (htmls) for p (${(k)pages}) { - mkdir -p $2/$p:h + zf_mkdir -p $2/$p:h genHTML $p > $2/$p.html touch -r $p $2/$p.html }