Description
Is your feature request related to a problem? Please describe.
I tried keeping my zim related dotfiles in github and restoring using Tuckr and it went a little crazy. I've tried several things to attempt to get it to work but nothing has worked so far.
The only way I was able to recover is to delete/rename .zim, remove the zim lines from my .zshrc and reinstall from the installer.
Describe the solution you'd like
-
Make it possible to install zimfw with an existing .zim directory and or other .zim* files.
-
Don't modify the .zshrc itself but expect that required lines exist or are sourced from another file.
Describe alternatives you've considered
Maybe a flag or something to the installer, --no-zshrc or something like that.
- Creates ~/.zim only if it doesn't already exist
- Creaates ~/.zimrc only if it doesn't already exist
- Does not modify .zshrc but creates a file like .zimsh or something like that only if it doesn't already exist.
- The user can then add a line to .zshrc to source .zimsh, if that line isn't already present.
- fun zimfw update
Additional context
The goal is to be able to track .zim* in git and only need to run the installer when necessary otherwise everything is already present when you pull from git.