Giter VIP home page Giter VIP logo

Comments (4)

balupton avatar balupton commented on June 16, 2024

I'm thinking installation should come down to:

Which shells would you like to configure for Dorothy?

  • bash
  • zsh
  • fish
  • nu

How would you like to configure your shells? (Backups will be made, so don't stress.)

  • Replace your shell's configuration to load Dorothy; use this if Dorothy is your first or only dotfile experience on this machine.
  • Extend your shell's configuration to load Dorothy; use this if Dorothy is not your first dotfile experience.

Either technique will copy the original dotfiles to a xdg state directory for dorothy/shell-configuration-backup/time

Then they can run dorothy restore and dorothy uninstall to restore the original configuration on their machine.

from dorothy.

balupton avatar balupton commented on June 16, 2024

Another improvement to do in this batch, is if installing dorothy and there is no user directory, then just rm rf dorothy directory and clone fresh in case there is an issue with the clone.

from dorothy.

balupton avatar balupton commented on June 16, 2024

I'm thinking the installer should just ask what shells to configure and always do the extend method. The clean/replace method is too risky to expose to inexperienced users, and should just be enabled somehow for all-in dorothy users, either via a install flag such as install?clean=true or dorothy install --clean, or have dorothy support a configuration file (though to justify that, there should be more things to configure).

the other option is to maintain a database of default shell configuration files, so we can just wipe ones that are untouched.

from dorothy.

balupton avatar balupton commented on June 16, 2024

Closed 035d140

from dorothy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.