zap-zsh / zap

:zap: Zap is a minimal zsh plugin manager
https://www.zapzsh.com/
GNU General Public License v3.0
942 stars 33 forks source link

feat: provide a CLI option to allow you to specify your own `.zshrc` template file. #148

Closed wintermi closed 1 year ago

wintermi commented 1 year ago

If the feature request is for a plugin or theme, specify it here.

No response

If the feature solves a problem you have, specify it here.

Allows further customisation options when automating the installation of Zap.

Describe the proposed feature.

Add CLI option to the install.zsh script:

--template | -t <template-file>         .zshrc template file to be installed

Describe alternatives you've considered

No response

Additional context

No response

Related Issues

No response

mamaraddio commented 1 year ago

Maybe this could be a simple flag to decide if or not to override the existing zshrc file instead of passing a different template. Something like

-k,  --keep    Don't override existing.zshrc

So this should resolve #154