8000 Allow tracking dotfiles in git, don't modify .zshrc · Issue #557 · zimfw/zimfw · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow tracking dotfiles in git, don't modify .zshrc #557
Open
@markfaine

Description

@markfaine

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

  1. Make it possible to install zimfw with an existing .zim directory and or other .zim* files.

  2. 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.

  1. Creates ~/.zim only if it doesn't already exist
  2. Creaates ~/.zimrc only if it doesn't already exist
  3. Does not modify .zshrc but creates a file like .zimsh or something like that only if it doesn't already exist.
  4. The user can then add a line to .zshrc to source .zimsh, if that line isn't already present.
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0