diff --git a/antigen.zsh b/antigen.zsh index fc4149b..c24a6a8 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -356,7 +356,10 @@ antigen-snapshot () { # The snapshot content lines are pairs of repo-url and git version hash, in # the form: # - local snapshot_content="$(-antigen-echo-record | sed 's/ .*$//' | sort -u | + local snapshot_content="$(-antigen-echo-record | + grep 'true$' | + sed 's/ .*$//' | + sort -u | while read url; do local dir="$(-antigen-get-clone-dir "$url")" local version_hash="$(cd "$dir" && git rev-parse HEAD)"