Skip to content

[Feature Request] Autoupdate like zgenom #20

Description

@QuarticCat

Reference: https://github.com/jandamm/zgenom#run-updates-automatically

I saw zgenom record update time in the file, but we actually don't have to do this. We can simply use mtime. An oversimplified example is given below:

_qc_last_update=(~zdot/.zcomet/update(Nm-7))
if [[ -z $_qc_last_update ]] {
    touch ~zdot/.zcomet/update
    zcomet self-update
    zcomet update
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions