]> Sergey Matveev's repositories - zk.zsh.git/commitdiff
Fix excess dummy link appearance
authorSergey Matveev <stargrave@stargrave.org>
Thu, 17 Mar 2022 17:32:59 +0000 (20:32 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 17 Mar 2022 17:32:59 +0000 (20:32 +0300)
zk.zsh

diff --git a/zk.zsh b/zk.zsh
index bfa1647840bf32285c5e54d3f9e2579810a07af8..d583ae3d5d3dc5a990578bad5599916e9605a347 100755 (executable)
--- a/zk.zsh
+++ b/zk.zsh
@@ -72,7 +72,7 @@ for p (${(k)pages}) {
         zf_mkdir -p $ZK_CACHE/$p:h
         ws=($ZK_VERSION ${inode[1]} ${ctime[1]} $ws)
         print -l $ws > $ZK_CACHE/$p
-        ws=(${ws[3,-1]})
+        ws=(${ws[4,-1]})
     }
     [[ $ws ]] && links[$p]=${(j: :)ws}
 }