X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=zk.zsh;fp=zk.zsh;h=9f9c71643f17dc8296a703b9a3ed96235edfdfd2;hb=82a10b41acc19b79d0f5f43cef9a9e1ed44ce41a;hp=cfc95a4796212116896c973267ab707a6c74552f;hpb=b281d83ebe3295738d97f8b0db724d79c2afe6a9;p=zk.zsh.git 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 }