Comments (4)
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.
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.
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.
Closed 035d140
from dorothy.
Related Issues (20)
- Improvement: Raspberry Pi OS support HOT 1
- Mention the docs folder in the readme HOT 2
- Docs: mention mount-helper
- Installation errors in supported shell in host shells in Termux and within guest shells within proot-distro aliases in Termux HOT 2
- Install error command not found on Intel Mac HOT 4
- mount-helper: fail if doing user mount on root target
- Question: Dorothy and Dotly integration? HOT 6
- Bug: `sources/ssh.nu` syntax error HOT 1
- Trouble installing dorothy on Ubuntu 22.04.3 LTS HOT 5
- Login shell restriction HOT 6
- Suggestion: simplify setup-dns
- Bug: `interactive.sh` is loaded even when `interactive.fish` exists HOT 4
- Suggestion: setup-util support for streamlined {bin,man,lib,etc} extraction HOT 4
- Bug: Dorothy sets CC to '' HOT 1
- Suggestion: Use the GitHub or GitLab CLI to setup the user repository
- Suggestion: Cross-shell aliases HOT 2
- Suggestion: ask: `--password` should use `read --silent` with a confirm password prompt HOT 2
- syntax error near unexpected token `) HOT 2
- Suggestion: choose: inline rendering by default
- Suggestion: have tty.bash trigger tty_clear on alt tty establishment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dorothy.