zgen icon indicating copy to clipboard operation
zgen copied to clipboard

Add support for upstream repos

Open alexconst opened this issue 8 years ago • 1 comments

zgen.zsh allows the user to use his own prezto and OMZ forks by using ZGEN_PREZTO_REPO and ZGEN_OH_MY_ZSH_REPO. But then you have a problem with upstream, where you have to manually add it and update it.

It would be nice to have some sort of mechanism, to keep track and update from upstream. Maybe having these ZGEN_PREZTO_REPO_UPSTREAM=sorin-ionescu and ZGEN_OH_MY_ZSH_REPO_UPSTREAM=robbyrussell variables defined in zgen.zsh. If the user overrides them (to empty string or undefines them), then updates would be done from remote origin forks. Otherwise from remote upstream.

alexconst avatar May 12 '16 08:05 alexconst

It would be nice to have some sort of mechanism, to keep track and update from upstream.

I'm not completely sure what you're suggesting here.

So you have your own local oh-my-zsh fork that has robbyrussell/oh-my-zsh set as a upstream repo? I don't think there's any proper way to magically merge two repositories as they may have merge conflicts.

tarjoilija avatar Oct 30 '16 15:10 tarjoilija