zsh-snap icon indicating copy to clipboard operation
zsh-snap copied to clipboard

Add optional auto-update feature

Open marlonrichert opened this issue 2 years ago • 5 comments

This needs to be smart enough that it does not try to update repos where the work tree is dirty or where you have unpushed commits.

Discussed in https://github.com/marlonrichert/zsh-snap/discussions/97

Originally posted by xenoterracide August 4, 2021 Does zsnap do any lazy evalution? such as I don't want to do any evaluation until conditions such as prompt available or command pattern matched for completion?

do you have any comparison times with other frameworks?

how does zsnap update plugins and itself? do I need to write a cron/timer?

marlonrichert avatar Aug 09 '21 13:08 marlonrichert

I still think that cron jobs should be enough, with sample files for system. I think I might go make a system bug asking for an implementation of crontab CLI or something; the dirty tree thing might still be a thing to enhance the update command.

xenoterracide avatar Aug 09 '21 13:08 xenoterracide

I still think that cron jobs should be enough, with sample files for system. I think I might go make a system bug asking for an implementation of crontab CLI or something; the dirty tree thing might still be a thing to enhance the update command.

git maintenance run will fetch hourly

srobinson avatar Apr 03 '22 05:04 srobinson

@srobinson But it doesn’t pull.

marlonrichert avatar Apr 11 '22 13:04 marlonrichert

need to add the function of self update

hawktang avatar May 25 '23 04:05 hawktang

@hawktang Please make a new issue for that.

marlonrichert avatar May 27 '23 13:05 marlonrichert